note 50215 added to function.extract
| From: | php-general at lists dot php dot net | Date: | Tue, 22 Feb 2005 03:31:38 +0000 |
| Subject: | note 50215 added to function.extract | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-85346@lists.php.net to get a copy of this message | ||
To make this perfectly clear (hopefully), an underscore is always added when the string is prefixed.
extract(array("color" => "blue"),EXTR_PREFIX_ALL,'');// note:
prefix is empty
is the same as
$color='_blue';
----
Manual Page -- http://www.php.net/manual/en/function.extract.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+50215
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+50215&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+50215&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+50215&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+50215&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+50215&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+50215&report=yes
Search -- http://master.php.net/manage/user-notes.php