code
';
else $out .= $json[$i];
}
else $out .= $json[$i];
if ($json[$i] == '"') $comment = !$comment;
}
eval($out . ';');
return $x;
}
}
?>
warning
this is untested, I found it on the internet
link
http://www.php.net/manual/en/function.json-decode.php#91216