split string in php
<p>I need to parse a string into pieces. String is in DB just as variables which defines figures for parsing. For example</p>

<pre><code>$string="d160e0986aca4714714a16f29ec605af90be704d";
</code></pre>

<p>I need to split $string with</p>

<pre><code>$var1=4; // will contains "d160"
$var2=5; // will contains "e0986"
$var3=2; // will contains "aca"
</code></pre>

<p>do you have any idea or solution please?</p>
