Hello Andi,

  I think the "sexy" syntax is a significant plus, even if associative
  arrays were used in the implementation.  Is it a complex thing to
  implement?

-- 
Best regards,
 Jason                            mailto:[EMAIL PROTECTED]

Thursday, January 12, 2006, 6:44:59 PM, you wrote:

AG> In my opinion, as Ilia stated passing an associative array does the 
AG> job quite well for the use-case where named arguments would be useful.
AG> Sure it might be a tad-bit sexier that you don't have to write 
AG> array() but the truth is that the implementation would probably still 
AG> use an array. Unlike Ada which has extremely strict typing, in PHP in 
AG> most cases we wouldn't be able to optimize away the named parameters, 
AG> meaning that we'd probably do the array() trick anyway.

AG> Andi

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to