title: Get variable name from within the called function
body: <p>Can I do this, maybe using ReflectionClass ?</p>
  
  <pre><code>myprintr($some_object);
  
  
  function myprintr(){
    foreach(func_get_args() as $key =&gt; $arg){
  
      // here I want to get the name of the passed variable, "some_object"
      // $key seems to be numeric...
    }
  
  
  }
  </code></pre>