How to get a variable name as a string in PHP?
<p>Say i have this PHP code:</p>

<pre><code>$FooBar = "a string";
</code></pre>

<p>i then need a function like this:</p>

<pre><code>print_var_name($FooBar);
</code></pre>

<p>which prints:</p>

<pre><code>FooBar
</code></pre>

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