Convert Javascript Array to PHP
<p>I have a PHP script with curl's an external site which returns a javascript array that looks like this:</p>

<p>array[0]='some stuff'</p>

<p>array[1]='some more stuff'</p>

<p>I would like to take this and convert it into a PHP array so I can reference it later down in the script for echoing. Is this the way to go about doing it? Is there a better way?</p>

<p>Thanks!</p>
