iloveitaly on 09/28/11
Last Edited at 09/28/11 04:32am
function format_php_export($arrayRep) { $arrayRep = preg_replace('/[ ]{2}/', "\t", $arrayRep); $arrayRep = preg_replace("/\=\>[ \n\t]+array[ ]+\(/", '=> array(', $arrayRep); return $arrayRep = preg_replace("/\n/", "\n\t", $arrayRep);}
Report this snippet Tweet
Comment:
You need to login to post a comment.