I have a PHP script with curl's an external site which returns a javascript array that looks like this:
array[0]='some stuff'
array[1]='some more stuff'
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?
Thanks!