From 71d650134639c0d2db45e004e6a847fbf1dc8ce9 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Mon, 10 Jan 2022 16:05:40 +0300 Subject: [PATCH] Added test --- ext/opcache/tests/jit/assign_dim_006.phpt | 29 +++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 ext/opcache/tests/jit/assign_dim_006.phpt diff --git a/ext/opcache/tests/jit/assign_dim_006.phpt b/ext/opcache/tests/jit/assign_dim_006.phpt new file mode 100644 index 00000000000..d97663dc89f --- /dev/null +++ b/ext/opcache/tests/jit/assign_dim_006.phpt @@ -0,0 +1,29 @@ +--TEST-- +JIT ASSIGN_DIM: 006 +--INI-- +opcache.enable=1 +opcache.enable_cli=1 +opcache.file_update_protection=0 +opcache.jit_buffer_size=1M +--FILE-- + +--EXPECTF-- +Warning: Illegal string offset -5 in %sassign_dim_006.php on line 5 + +Warning: Illegal string offset -5 in %sassign_dim_006.php on line 5 + +Warning: Illegal string offset -5 in %sassign_dim_006.php on line 5 + +Warning: Illegal string offset -5 in %sassign_dim_006.php on line 5 + +Warning: Illegal string offset -5 in %sassign_dim_006.php on line 5 +NULL