3 ms·
Why would you care how many global functions there are in PHP? Just namespace your own functions and the whole "issue" will instantly disappear.
by vntok 5y ago
Why would you care how many global functions there are in PHP? Just namespace your own functions and the whole "issue" will instantly disappear.
- awestroke 5y agoDo you think the problem is that I want the function name mysql_real_escape_string for myself? No, I just don't want thousands of confusingly named, completely worthless and/or actively harmful functions to always be in scope.
- vntok 5y ago> No, I just don't want thousands of confusingly named, completely worthless and/or actively harmful functions to always be in scope. Again, why would you care whether some functions that you don't use are available should you want to use them someday? It's not as if there's a huge list of thousands of functions stapled to the beginning of all your code files that you have to scroll for 5 minutes before reaching your code.