note 13180 deleted from function.extract by jimw

From: Date: Sat, 08 Dec 2001 19:58:03 +0000
Subject: note 13180 deleted from function.extract by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-22154@lists.php.net to get a copy of this message
Note that this function will not extract all elements in a multi-dimensional array into variables. $foo = array( "letter" => "A", "number" => array ( "one"=>1, "two"=>2, "three"=>3) ); extract($foo); Will result in $letter == "A" and $number being an array with 3 values. If you want the variables $one, $two and $three you will have to extract $number.

« previous php.notes (#22154) next »