> function somefunction($myvar) {
>             do something...
>             ...
>             ...
>             return \$myvar;
> }
> 
> $varname = somefunction($myvar);
> echo "$varname";

That won't work, because you escaped the $ sign, the variable won't get 
processed and the name returned will be the one of the variable as it is 
declared in the function, always the same.

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

Reply via email to