note 21298 added to functions.arguments
| From: | t dot orf at gmx dot de | Date: | Tue, 07 May 2002 10:48:15 +0000 |
| Subject: | note 21298 added to functions.arguments | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-30290@lists.php.net to get a copy of this message | ||
concerning rbronosky@mac.com 11-May-2001 06:17:
You can include the variable name in the output if you simply pass that name instead of the value:
function show($arrayName) {
global $$arrayName;
echo("<pre>\n$arrayName == ");
print_r($$arrayName);
echo "</pre>";
}
show('myArray');
--
http://www.php.net/manual/en/functions.arguments.php
http://master.php.net/manage/user-notes.php?action=edit+21298
http://master.php.net/manage/user-notes.php?action=delete+21298
http://master.php.net/manage/user-notes.php?action=reject+21298