Put a string into an array
<p>I have a string that contains this:</p>

<p><code>array(a=1, b=2, c=array(ca=23, cb=45),d=array(da=342, db=array(dba=3154, dbb=8746), dc=765),e=8)</code></p>

<p>Now, I need to create an array from the contents of this string. I tried it this way:</p>

<pre><code>$arrValues = array();
$arrValues = $strVar;
var_dump($arrValues);
</code></pre>

<p>But of course, as was to be expected, this just gives you an array with 1 item of type string, and the whole shebang in it.</p>

<p>Any tips?</p>
