How to get a array ro variable name as a string in PHP?
<p>I need a function like this:</p>

<pre><code>$foo = "bar";

$arr['bar'] = "foo";


myfunc(array($foo,$arr['bar'])); // return array('foo','bar')
</code></pre>

<p>Any Ideas how to achieve this? Is this even possible in PHP?</p>
