title: How to print name of the variable which stores an array in php?
body: <p>I want to print the array identifier name along with its content.
  In situations where a page contains many arrays, then there is a confusion -
  which elements belong to which array.</p>
  
  <pre><code>$user= array('id' =&gt; 1,'name' =&gt; "Tom");
  
  //expectation
  user
  Array
  (
      [id] =&gt; 1
      [name] =&gt; Tom
  )
  </code></pre>