php array does not increment properly.
<p>in my php code I run a bunch of shell scripts that finally output the following</p>

<pre><code>['October 20, 2003', '047085815X', '978-\n0470858158', '1', u'\nWireless Foresight: Scenarios of the Mobile World in 2015 [Hardcover]\n']
</code></pre>

<p>the above output is saved to $temp.</p>

<p>However, when I do echo $temp[0] it prints the first open bracket and echo $temp[1] print the single quote mark etc.....</p>

<p>I believe this is because its a string and not an array.</p>

<p>I would like to convert this to n array were each element is separated with a coma. </p>

<p>However, note that october 20, 2003 has a comma in it and that should remain its own element. </p>

<p>Can someone point me to what function im looking for. </p>
