<?php $str = "array('a'=>1, 'b'=>2)"; print_r(eval("\$myarray = $str;"));
You have javascript disabled. You will not be able to edit any code.