diff options
author | Jakub Zelenka <bukka@php.net> | 2014-12-12 20:00:08 +0000 |
---|---|---|
committer | Jakub Zelenka <bukka@php.net> | 2014-12-12 20:00:08 +0000 |
commit | 0bfa245aa3f3994d3095afd696bbd3f0130594ab (patch) | |
tree | 49415dda29c0ebee9191537a9dc243d9f05bdb8f /ext/json/tests | |
parent | 9e5f687957d532912d062f11dc4f5b2a368e5c4b (diff) | |
download | php-git-0bfa245aa3f3994d3095afd696bbd3f0130594ab.tar.gz |
Modify json/tests/pass003 to ignore internal object ID
Child is now created first - bottom up parsing (LR)
Diffstat (limited to 'ext/json/tests')
-rw-r--r-- | ext/json/tests/pass003.phpt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/json/tests/pass003.phpt b/ext/json/tests/pass003.phpt index 36da4a1de6..e82bf5cb93 100644 --- a/ext/json/tests/pass003.phpt +++ b/ext/json/tests/pass003.phpt @@ -39,7 +39,7 @@ $arr = json_decode($arr_enc, true); var_dump($arr); ?> ---EXPECT-- +--EXPECTF-- Testing: { "JSON Test Pattern pass3": { @@ -49,9 +49,9 @@ Testing: } DECODE: AS OBJECT -object(stdClass)#1 (1) { +object(stdClass)#%d (1) { ["JSON Test Pattern pass3"]=> - object(stdClass)#2 (2) { + object(stdClass)#%d (2) { ["The outermost value"]=> string(27) "must be an object or array." ["In this test"]=> @@ -73,9 +73,9 @@ ENCODE: FROM OBJECT ENCODE: FROM ARRAY {"JSON Test Pattern pass3":{"The outermost value":"must be an object or array.","In this test":"It is an object."}} DECODE AGAIN: AS OBJECT -object(stdClass)#3 (1) { +object(stdClass)#%d (1) { ["JSON Test Pattern pass3"]=> - object(stdClass)#4 (2) { + object(stdClass)#%d (2) { ["The outermost value"]=> string(27) "must be an object or array." ["In this test"]=> |