Artifact [77bd37d247]
Artifact 77bd37d247a6012c0d0738b2a0b8ec8f7a2eab33:
- File doc/tests1all/json.phpt — part of check-in [51e3884900] at 2010-06-22 17:03:27 on branch trunk — upgradephp-15 (user: mario size: 408)
--TEST-- json --FILE-- <?php $a = array( "x" => "y", "text" => "Hallφchen ", "abc" => TRUE, "int" => 512, "float" => 3.14159, "null" => NULL, "sub" => array(1,2,3), "sub2" => array(1,2,"a"=>3), ); for ($n=0; $n<1000; $n++) $js = json_encode($a); echo "$js\n"; ?> --EXPECT-- {"x":"y","text":"Hall","abc":true,"int":512,"float":3.14159,"null":null,"sub":[1,2,3],"sub2":{"0":1,"1":2,"a":3}}