It also makes type analysis for potential compile time optimizations much easier. It reduces the unknowns that occure from functions! This is something that could be a big help with that.
On Wed, Jul 1, 2009 at 10:15 AM, Alain Williams <a...@phcomp.co.uk> wrote: > On Wed, Jul 01, 2009 at 12:59:59PM -0400, 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 > > ... > > Another desirable result of type hinting is that it would strengthen > reflection ... one use of that would be automatic generation of > WSDL files. This is something that I am currently struggling to do, > not helped by the completely cr*p documentation of this - I am not > talking about PHP documentation here by W3 & other places :-( > > +1 to type hinting. > > -- > Alain Williams > Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT > Lecturer. > +44 (0) 787 668 0256 http://www.phcomp.co.uk/ > Parliament Hill Computers Ltd. Registration Information: > http://www.phcomp.co.uk/contact.php > Past chairman of UKUUG: http://www.ukuug.org/ > #include <http://www.ukuug.org/%0A#include> <std_disclaimer.h> > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >