note 40254 deleted from function.extract by aidan
| From: | aidan@php.net | Date: | Thu, 09 Sep 2004 09:14:06 +0000 |
| Subject: | note 40254 deleted from function.extract by aidan | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-76288@lists.php.net to get a copy of this message | ||
Note Submitter: mueller at inf dot ufsc dot br
----
if there is a collision, EXTR_PREFIX_ALL overwrite the existing variable.
<?php
$name_1 = "john";
$names = array("silvano","thomaz","crema","jonas");
extract($names, EXTR_PREFIX_ALL, "name");
echo $name_1;
// output: thomaz
?>