|
|
|
|
|
by core-questions
2127 days ago
|
|
True, but I doubt I want to use that on a simple string function. I'd actually much prefer to see the introduction of methods on strings ala Ruby and most other natively-OOP languages rather than calling the C-style functions with the strings as a parameter, but hey, it is what it is. |
|
Sure, it's not built-in, but I think this is the best solution for now given the size of PHP's language team.