String "array" to real array
Use php's "eval" function.
eval("\$myarray = $str;");
i don't know a good way to do this (only evil eval()
wich realy should be avoided).
but: where do you get that string from? is it something you can affect? if so, using serialize()
/ unserialize()
would be a much better way.