I was just thinking about what I'd like to see different with PHP. Feel free to speak your mind about addons, changes, deletions, whatever. Just thought I'd get it out there. Maybe the PHP developers will see this. 😉
Consistant Function Names
Most newer functions are named better but the older ones should be changed. Like sort() should become array_sort(), etc. If they are similar/grouped, keep the name similar.
More Use of Exceptions
Now that PHP5 has the support for exceptions, I think anything that would make sence to throw one should (like functions, etc). Not that EVERYTHING should but that way we don't have to make custom error handling when something returns false (I have a system setup that throws an error if something fails).
Maybe a solution to these two would be to create static class functions that throw exceptions. Ex: Array::sort() I'm sure this would be a MAJOR rewrite of PHP but it would help. You could proly skip version 6 and just call it 7 or 8. LOL Heck, someone could proly write classes to do this but the extra overhead would be to much for something major. Maybe have this a off-shoot of PHP, like a PECL package or something.
I'm thinking of more but that'll do it for now.