mirror of
https://github.com/php/php-src.git
synced 2024-12-01 05:43:38 +08:00
Merge branch 'PHP-8.0'
* PHP-8.0: Fixed MAY_BE_INDIRECT inference
This commit is contained in:
commit
977134352d
@ -1949,6 +1949,9 @@ uint32_t zend_array_element_type(uint32_t t1, zend_uchar op_type, int write, int
|
|||||||
} else {
|
} else {
|
||||||
tmp |= MAY_BE_ANY | MAY_BE_REF | MAY_BE_RC1 | MAY_BE_RCN | MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_ANY | MAY_BE_ARRAY_OF_REF;
|
tmp |= MAY_BE_ANY | MAY_BE_REF | MAY_BE_RC1 | MAY_BE_RCN | MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_ANY | MAY_BE_ARRAY_OF_REF;
|
||||||
}
|
}
|
||||||
|
if (write) {
|
||||||
|
tmp |= MAY_BE_INDIRECT;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (t1 & MAY_BE_ARRAY) {
|
if (t1 & MAY_BE_ARRAY) {
|
||||||
if (insert) {
|
if (insert) {
|
||||||
|
Loading…
Reference in New Issue
Block a user