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

$varname = "blah";

function checkit(&$name) {

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??


PHP General Mailing List (
To unsubscribe, visit:

Reply via email to