<?php $str = "['key1', 'key2']"; $arr = json_decode(str_replace("'", '"', $str)); print_r($arr);
You have javascript disabled. You will not be able to edit any code.