Convert string to variables
<p>How to convert this</p>

<pre><code>$myvar = '[aaa](11,22,33,44,55)[bbb](1,2,3,4,5)';
</code></pre>

<p>into that</p>

<pre><code>$arr_name[1] = 'aaa';
$arr_val[1] = '11,22,33,44,55';

$arr_name[2] = 'bbb';
$arr_val[2] = '1,2,3,4,5';
</code></pre>

<p>What functions should I use for it ?</p>
