|I think that Ankur Gupta's suggestion is rather interesting. It offers many benefits: |
* moving PHP into the realm of fully Object Orientated languages
* using the same name for different, but similar, functions applying to different types ("overloading" in C++) - possible because the functions with same name would belong to different classes
* offering an opportunity to reorganise / restructure the core libraries
On the other hand, it would be a **major** backwards compatibility issue...
A mechanism to deal with that BC issue (smarter than just offering both interfaces side by side) would have to be provided (e.g. include files that would provide one interface built on the other one).
Nonetheless, I vote for it!