mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
objects may be nested in array operands
This commit is contained in:
parent
bd346bfa5c
commit
0972a21636
1 changed files with 1 additions and 1 deletions
|
@ -4100,7 +4100,7 @@ int zend_may_throw(const zend_op *opline, zend_op_array *op_array, zend_ssa *ssa
|
|||
|| (t2 & MAY_BE_ANY) == MAY_BE_NULL) {
|
||||
return 0;
|
||||
}
|
||||
return (t1 & MAY_BE_OBJECT) || (t2 & MAY_BE_OBJECT);
|
||||
return (t1 & (MAY_BE_OBJECT|MAY_BE_ARRAY_OF_ARRAY|MAY_BE_ARRAY_OF_OBJECT)) || (t2 & (MAY_BE_OBJECT|MAY_BE_ARRAY_OF_ARRAY|MAY_BE_ARRAY_OF_OBJECT));
|
||||
case ZEND_ASSIGN_ADD:
|
||||
if (opline->extended_value != 0) {
|
||||
return 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue