Hartmut Holzgraefe wrote:
Jared White wrote:
While ideally it'd be nice to have named parameters used in the core
of PHP, I realize that's probably an impossible task at the moment. So
I agree that the main goal is to allow users to define APIs in PHP
using this feature. If that's all we had, it'd be good enough I think.
(At least, it'd certainly serve my needs. :) )
So far there is no difference between a user level and an internal
function from a callers point of view, adding such an asymmetry now
really doesn't sound like the right thing to do ...
There is. Internal functions can take optional parameters per reference,
user level functions can not. (see preg_match, for example).
Regards,
Stefan
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php