Test: /ext/json/tests/pass003.phpt - Version 7.1.2RC1    

There is 1 diff reported by users for this test.

Count Diff
1 (100%)
010+
011+ Termsig=11
010- object(stdClass)#%d (1) {
011- ["JSON Test Pattern pass3"]=>
012- object(stdClass)#%d (2) {
013- ["The outermost value"]=>
014- string(27) "must be an object or array."
015- ["In this test"]=>
016- string(16) "It is an object."
017- }
018- }
019- DECODE: AS ARRAY
020- array(1) {
021- ["JSON Test Pattern pass3"]=>
022- array(2) {
023- ["The outermost value"]=>
024- string(27) "must be an object or array."
025- ["In this test"]=>
026- string(16) "It is an object."
027- }
028- }
029- ENCODE: FROM OBJECT
030- {"JSON Test Pattern pass3":{"The outermost value":"must be an object or array.","In this test":"It is an object."}}
031- ENCODE: FROM ARRAY
032- {"JSON Test Pattern pass3":{"The outermost value":"must be an object or array.","In this test":"It is an object."}}
033- DECODE AGAIN: AS OBJECT
034- object(stdClass)#%d (1) {
035- ["JSON Test Pattern pass3"]=>
036- object(stdClass)#%d (2) {
037- ["The outermost value"]=>
038- string(27) "must be an object or array."
039- ["In this test"]=>
040- string(16) "It is an object."
041- }
042- }
043- DECODE AGAIN: AS ARRAY
044- array(1) {
045- ["JSON Test Pattern pass3"]=>
046- array(2) {
047- ["The outermost value"]=>
048- string(27) "must be an object or array."
049- ["In this test"]=>
050- string(16) "It is an object."
051- }
052- }