From be60d159b6246efc6e6b63a4a7c8426f89f84534 Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Thu, 23 Feb 2017 12:47:15 +0800 Subject: [PATCH] Add test only (bug doesn't exists in 7.1) --- ext/opcache/tests/bug74152.phpt | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 ext/opcache/tests/bug74152.phpt diff --git a/ext/opcache/tests/bug74152.phpt b/ext/opcache/tests/bug74152.phpt new file mode 100644 index 0000000000..f51c26b621 --- /dev/null +++ b/ext/opcache/tests/bug74152.phpt @@ -0,0 +1,27 @@ +--TEST-- +Bug #74152 (if statement says true to a null variable) +--INI-- +opcache.enable=1 +opcache.enable_cli=1 +opcache.optimization_level=-1 +--SKIPIF-- + +--FILE-- + +--EXPECT-- +false -- 2.50.1