Skip to content

Commit ac8c901

Browse files
address Ilija comments
1 parent 3e8a7ef commit ac8c901

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ PHP NEWS
77
. Fixed bug GH-21059 (Segfault when preloading constant AST closure). (ilutov)
88
. Fixed bug GH-21072 (Crash on (unset) cast in constant expression).
99
(arshidkv12)
10+
. Fix deprecation now showing when accessing null key of an array with JIT.
11+
(alexandre-daubois)
1012

1113
- Windows:
1214
. Fixed compilation with clang (missing intrin.h include). (Kévin Dunglas)

Zend/Optimizer/sccp.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -427,9 +427,6 @@ static inline zend_result ct_eval_isset_isempty(zval *result, uint32_t extended_
427427
}
428428

429429
static inline zend_result ct_eval_isset_dim(zval *result, uint32_t extended_value, zval *op1, zval *op2) {
430-
if (Z_TYPE_P(op2) == IS_NULL) {
431-
return FAILURE;
432-
}
433430
if (Z_TYPE_P(op1) == IS_ARRAY || IS_PARTIAL_ARRAY(op1)) {
434431
zval *value;
435432
if (fetch_array_elem(&value, op1, op2) == FAILURE) {

0 commit comments

Comments
 (0)