> On Thu, Jan 23, 2014 at 6:11 PM, Larry Garfield <[email protected]>wrote
> >
> > If we're going to do anything, be aggressive and far-reaching with it.
> > Build a proper language-level OOP design for string/array manipulation.
> >
>
> This is a completely honest, sincere question: Why should the language
> itself use an object-oriented design for everything it provides?
>
Compare: $str = str_replace('-', '_', $str);
To: $str = $str->replace('-', '_');
Or: $keys = array_keys($array);
To: $keys = $array->keys();
I think it looks a lot cleaner, self-explaining, shorter, and if you are used to write OOP, it fits
better to the rest of your code.