Hi! > Here's an RFC that would extend the syntax of list() to be more useful > with associative arrays: > > https://wiki.php.net/rfc/list_keys > > Please read it and tell me your thoughts.
After reading the RFC, it looks like a great idea. I wouldn't exactly encourage this for replacement of named parameters (for one, I understand it would produce some complaints - like notice? - if the key does not exist) but there are cases when it's useful and I don't see any harm in it. -- Stas Malyshev [email protected] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
