title: Echo PHP array with index numbers
body: <pre><code>array(13) {
      [0]=&gt; string(15) "TEST1"
      [1]=&gt; string(12) "TEST2"
      [2]=&gt; string(12) "TEST3"
      [3]=&gt; string(12) "TEST4"
  }
  </code></pre>
  
  <p>Output should look like this:</p>
  
  <pre><code>0 TEST1
  1 TEST2
  2 TEST3
  ...
  </code></pre>
  
  <p>I'm new to arrays so I'm searching for the cleanest way to do it. It worked with some counter variables but it was ugly as hell. Thanks for your time.</p>