Is there a way to get and store the name of a referenced variable into
another variable? Example...

$varname = "blah";
checkit($varname);

function checkit(&$name) {
    ...code...
}

In the function above, I'd like to find out the name of the referenced
variable (pointed to by $name) which should equal "varname" so I can store
this string in another variable (i.e., $thename = "varname").

Is there a way to do this in PHP??

Thanks.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to