diff --git a/ext/opcache/tests/jit/fetch_dim_r_009.phpt b/ext/opcache/tests/jit/fetch_dim_r_009.phpt new file mode 100644 index 00000000000..2c512c9ca20 --- /dev/null +++ b/ext/opcache/tests/jit/fetch_dim_r_009.phpt @@ -0,0 +1,22 @@ +--TEST-- +JIT FETCH_DIM_R: 009 +--INI-- +opcache.enable=1 +opcache.enable_cli=1 +opcache.file_update_protection=0 +opcache.jit_buffer_size=1M +--FILE-- +>1]); + $ary[0][$i] = 1; +} +?> +--EXPECTF-- +Warning: Undefined array key 1 in %sfetch_dim_r_009.php on line 4 +NULL + +Warning: Undefined array key 1 in %sfetch_dim_r_009.php on line 4 +NULL +int(1)