ID: 10551 Updated by: cynic Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: Feature/Change Request PHP Version: 4.0 Latest CVS (29/04/2001) Assigned To: Comments: RTFM: array_flip() Previous Comments: --------------------------------------------------------------------------- [2001-04-29 08:38:06] [EMAIL PROTECTED] I found myself with an array like $a = array (0 => "Foo", 1 => "Bar" ); and thought it would be cool to be able to say $a = array_permute/switch ($a); a being now: array ("Foo" => 0 , "Bar"=>1); the value colision can use the style of extract() 3rd parameter. what do you think? -- teodor --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10551&edit=2 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]