note 46221 added to function.extract

From: Date: Sun, 03 Oct 2004 00:03:25 +0000
Subject: note 46221 added to function.extract
Groups: php.notes 
Request: Send a blank email to php-notes+get-77767@lists.php.net to get a copy of this message
As shown in the example, if your 'prefix' is used, a single underscore is added to the name of the extracted variable. Meaning, a prefix of 'p' becomes a prefix of 'p_', so 'blarg' prefixed would be 'p_blarg'. If you're not sure what variables you've created through extraction, you can call get_defined_vars() to see all defined variables in the current scope. ---- Manual Page -- http://www.php.net/manual/en/function.extract.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+46221 Delete -- http://master.php.net/manage/user-notes.php?action=delete+46221&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+46221&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#77767) next »