From: Hugo Fonseca Date: Sat, 7 Mar 2015 10:53:31 +0000 (+0000) Subject: Added test for bug 69187 X-Git-Tag: PRE_PHP7_NSAPI_REMOVAL~772^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=baece8539971b74e6c6258bda3312cf6cd121643;p=php Added test for bug 69187 --- diff --git a/ext/json/tests/bug69187.phpt b/ext/json/tests/bug69187.phpt new file mode 100644 index 0000000000..bc1883e605 --- /dev/null +++ b/ext/json/tests/bug69187.phpt @@ -0,0 +1,33 @@ +--TEST-- +Bug #69187 json_last_error return BC in PHP7 +--SKIPIF-- + +--FILE-- + +--EXPECT-- +NULL +int(4) +NULL +int(4) +NULL +int(4) +int(0) +int(0) +int(1) +int(0) +int(1) +int(0)