Perhaps the named parameters could even be constant-like? How would this syntax be? foo(id => 42, name => "foo");
Ron "Matthew Weier O'Phinney" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > * Christian Schneider <[EMAIL PROTECTED]> : > > 9. Named parameters. Preferred way would be via array()-less array > > collation as we are already using this in our production system ;-) : > > foo('id' => 42, 'name' => "foo"); > > +1 -- this is one of the biggest things I miss coming from perl to PHP. > > -- > Matthew Weier O'Phinney > Zend Certified Engineer > http://weierophinney.net/matthew/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php