mirror of
https://github.com/php/php-src.git
synced 2025-08-16 14:08:47 +02:00
Fixed return uninitialized_zval
This commit is contained in:
parent
84ce66f17c
commit
541842d87a
1 changed files with 1 additions and 1 deletions
|
@ -373,7 +373,7 @@ static zval *sxe_prop_dim_read(zval *object, zval *member, zend_bool elements, z
|
|||
}
|
||||
|
||||
if (ZVAL_IS_UNDEF(rv)) {
|
||||
return &EG(uninitialized_zval);
|
||||
ZVAL_COPY_VALUE(rv, &EG(uninitialized_zval));
|
||||
}
|
||||
|
||||
return rv;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue