xxxxxxxxxx
<html>
<head>
<meta charset="utf-8">
<title>PHP json_decode 实例 - 自学教程(runoops.com)</title>
</head>
<body>
$json = '{"a":1,"b":2,"c":3,"d":4,"e":5}';
echo '<pre>';
var_dump(json_decode($json));
echo '</pre>';
echo '<pre>';
var_dump(json_decode($json, true));
echo '</pre>';
</body>
</html>