I'm working on a program that takes a saved variable file and converts it to a string that is structured like a php array. My problem is I need to turn this string into an array in php. Hoping someone can help.

working example of recursive array: (simplified for easy readability)
[php]$test = array(blah => value, blah2 => value2, array1 => array(value1 => key1, blah4 => value4),blah3 => value3);
recursiveArray( $test);...