Now I got the string of an array, like this :
$str = "array('a'=>1, 'b'=>2)";
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
unserialize() would be a much better way.