Commit 945d9671ff9 for php
commit 945d9671ff9cfe60e12db863fbd57dd96e538dea
Merge: 972fd251b39 85d2cd65e1b
Author: Jorg Sowa <jorg.sowa@gmail.com>
Date: Sun Nov 22 12:46:00 2026 +0100
Merge branch 'PHP-8.4' into PHP-8.5
diff --cc ext/opcache/tests/jit/assign_dim_undef_op_data_006.phpt
index 00000000000,2bc232fd1b4..075ba3c5d4c
mode 000000,100644..100644
--- a/ext/opcache/tests/jit/assign_dim_undef_op_data_006.phpt
+++ b/ext/opcache/tests/jit/assign_dim_undef_op_data_006.phpt
@@@ -1,0 -1,26 +1,28 @@@
+ --TEST--
+ JIT ASSIGN_DIM: undefined dim is reported before undefined OP_DATA when the container is false
+ --INI--
+ opcache.enable=1
+ opcache.enable_cli=1
+ opcache.file_update_protection=0
+ opcache.jit=function
+ --FILE--
+ <?php
+ function test() {
+ $x = false;
+ $x[$undefKey] = $undef;
+ var_dump($x);
+ }
+ test();
+ ?>
+ --EXPECTF--
+ Deprecated: Automatic conversion of false to array is deprecated in %s on line %d
+
+ Warning: Undefined variable $undefKey in %s on line %d
+
++Deprecated: Using null as an array offset is deprecated, use an empty string instead in %s on line %d
++
+ Warning: Undefined variable $undef in %s on line %d
+ array(1) {
+ [""]=>
+ NULL
+ }