Re: Strict typing

From: Date: Wed, 11 Aug 2010 16:10:58 +0000
Subject: Re: Strict typing
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to internals+get-49351@lists.php.net to get a copy of this message
Hi Elizabeth 2010/8/11 Elizabeth M Smith <auroraeosrose@gmail.com>: > Well this is turning into a real flamefest. > > Personally I really HATE the 5.3 implementation of "typehints" - heck you > can't even typehint arrays with an arrayobject instance, it's not hinting in > any way shape or form and is generally broken. > > On the other hand I'd like to be able to have the same control of parameters > in my userland code that I do in extensions - namely the same control I get > with zend_parse_parameters.  And the same errors/warnings I get with > zend_parse_parameters Sara wrote an extension for zend_parse_parameters() to expose it to userland and its available in PECL: http://svn.php.net/viewvc/pecl/params/trunk/ Im a +1 for exposing such functionality from the core/stdlib. -- regards, Kalle Sommer Nielsen kalle@php.net

« previous php.internals (#49351) next »