diff options
Diffstat (limited to 'ext/json/tests')
-rw-r--r-- | ext/json/tests/003.phpt | 4 | ||||
-rw-r--r-- | ext/json/tests/004.phpt | 4 | ||||
-rw-r--r-- | ext/json/tests/005.phpt | 4 |
3 files changed, 9 insertions, 3 deletions
diff --git a/ext/json/tests/003.phpt b/ext/json/tests/003.phpt index bb5619d9dd..6ae92bbebd 100644 --- a/ext/json/tests/003.phpt +++ b/ext/json/tests/003.phpt @@ -25,4 +25,6 @@ array(1) { } } -Catchable fatal error: json_encode(): recursion detected in %s on line %d +Warning: json_encode(): recursion detected in %s on line %d +string(8) "[[null]]" +Done diff --git a/ext/json/tests/004.phpt b/ext/json/tests/004.phpt index 21777ba2a1..884d874205 100644 --- a/ext/json/tests/004.phpt +++ b/ext/json/tests/004.phpt @@ -22,4 +22,6 @@ object(stdClass)#%d (1) { } } -Catchable fatal error: json_encode(): recursion detected in %s on line %d +Warning: json_encode(): recursion detected in %s on line %d +string(22) "{"prop":{"prop":null}}" +Done diff --git a/ext/json/tests/005.phpt b/ext/json/tests/005.phpt index b11168702c..f6a8977d18 100644 --- a/ext/json/tests/005.phpt +++ b/ext/json/tests/005.phpt @@ -22,4 +22,6 @@ array(1) { } } -Catchable fatal error: json_encode(): recursion detected in %s on line %d +Warning: json_encode(): recursion detected in %s on line %d +string(8) "[[null]]" +Done |