<?php $string = '"Day":June 8-10-2012,"Location":US,"City":Newyork'; var_export(preg_match_all('/:\K[^,]+/', $string, $out) ? $out[0] : 'fail'); echo "\n\n"; var_export(preg_split('/,?"[^"]+":/', $string, 0, PREG_SPLIT_NO_EMPTY));
You have javascript disabled. You will not be able to edit any code.
Value for `_results` contains invalid data `array`