a lot of debug
This commit is contained in:
1 parent
f8fc3f63ec
commit
d1f1065e44
21 files changed
+544
-217
No files matched your search
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
function jsonDecode($json)
|
||||
{
|
||||
$jsonArray = array();
|
||||
$json = trim($json, " {[]}");
|
||||
$tmp = explode(",", $json);
|
||||
foreach($tmp as $value)
|
||||
{
|
||||
$tmp2 = explode (":" , $value);
|
||||
$jsonArray[trim($tmp2[0], '"')] = trim($tmp2[1], '"');
|
||||
}
|
||||
return $jsonArray;
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in new issue
Block a user