note 12852 rejected from functions.arguments by didou
| From: | didou@php.net | Date: | Thu, 23 Oct 2003 16:28:39 +0000 |
| Subject: | note 12852 rejected from functions.arguments by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-59178@lists.php.net to get a copy of this message | ||
Note Submitter: rbronosky@mac.com
----
What is missing from this function suite is the ability to access the actual arguments as they were
entered. For example I use this little function to show the contents of an array for debugging
purposes.
function show($array) {
echo "<pre>";
print_r($array);
echo "</pre>";
}
It would be nice to be able to have the function output:
The contents of the array "$results" are:
Blah blah blah...
Or in some cases I would like to know that a function was called using, for instance:
my_function(${$current_user}[status])
the actual value get passed on to the function, but it would be nice to know how that value was
acquired.
-- for REAL power develop using MacOS, BBEdit, and PHP. The "Holy Trinity"!
-Bruno