How to get the variable/const name programatically in PHP?
<p><code>func(CONST_A)</code> should return <code>'CONST_A'</code>, <code>func($name)</code> should return <code>$name</code></p>

<p>How to implement this <code>func</code> in PHP?</p>
