From baece8539971b74e6c6258bda3312cf6cd121643 Mon Sep 17 00:00:00 2001 From: Hugo Fonseca Date: Sat, 7 Mar 2015 10:53:31 +0000 Subject: [PATCH] Added test for bug 69187 --- ext/json/tests/bug69187.phpt | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 ext/json/tests/bug69187.phpt 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) -- 2.50.1