![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.php archiveRe: Get name of passed variable in a function
From: Andy Hassall <andy@andyh.co.uk>
Date: Mon Oct 03 2005 - 23:02:25 CEST
On Mon, 03 Oct 2005 22:29:48 +0200, Ewoud Dronkert
>Andy Hassall wrote:
No,
<pre>
$foo = 10;
?>
Output:
Array
)
)
If you can find "foo" in the above then it would do what the OP requested:
>>I'm having to pass two values - the value of the variable AND it's
-- Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis toolReceived on Tue Oct 18 02:31:04 2005 |