I hope this isn't too late in the game for PHP5, but I thought I'd throw out a
request for a feature for array() declaration.
I'd like to be able to be lazy and declare something like
$foo = array('A' <=> 'Admin', 'C' <=> 'Customer');
which is really just a shortcut way to declare
$foo = array('A' => 'Admin', 'Admin' => 'A', 'C' => 'Customer', 'Customer' => 'C');
Dunno if anyone else would find this usefull, but it'd be nice to have as a quick way to
declare a simple lookup array.
Walt
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php