Create array printed with print_r
<p>I have an array:</p>

<pre><code>$a = array('foo' =&gt; 'fooMe');
</code></pre>

<p>and I do:</p>

<pre><code>print_r($a);
</code></pre>

<p>which prints:</p>

<pre><code>Array ( [foo] =&gt; printme )
</code></pre>

<p>Is there a function, so when doing:</p>

<pre><code>needed_function('    Array ( [foo] =&gt; printme )');
</code></pre>

<p>I will get the array <code>array('foo' =&gt; 'fooMe');</code> back?</p>
