Ilia Alshanetsky wrote:
There has been quite a bit of discussion on this list, IRC, developer meetings, etc... about introduction of type hinting to PHP. Most people appear to think that this would be a good idea, but there is a reason why it is not in PHP already. The main source of conflict appears to be that in some cases typical..
This would be a great feature IMO. However, like others, I'm a bit concerned on how can consistency with internal functions be achieved.
I don't think it would be that beneficial without method overloading by method signature. In fact, type hinting would be a step foward in that direction, and my head it makes sense that both features arrive togheter. I know nothing about php internals, method overloading by signature is something too hard to implement?
And, while type hinting and method overloading are things I really miss in php when comparing to other languages (amongst other thinkgs) and I do think they would be fantastic, I think HEAD is more suited for thoses changes rather than 5.3 branch. (But I must confess I loved LSB and Closures in 5.3 :) )
Regards Rodrigo Saboya -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php