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