mirror of
https://github.com/php/php-src.git
synced 2025-08-21 01:45:16 +02:00
Fixed MAY_BE_INDIRECT inference.
This commit is contained in:
parent
9d3cc223b2
commit
b7df636589
1 changed files with 3 additions and 0 deletions
|
@ -1984,6 +1984,9 @@ uint32_t zend_array_element_type(uint32_t t1, zend_uchar op_type, int write, int
|
|||
}
|
||||
if (t1 & (MAY_BE_UNDEF|MAY_BE_NULL|MAY_BE_FALSE)) {
|
||||
tmp |= MAY_BE_NULL;
|
||||
if (write) {
|
||||
tmp |= MAY_BE_INDIRECT;
|
||||
}
|
||||
}
|
||||
if (t1 & (MAY_BE_TRUE|MAY_BE_LONG|MAY_BE_DOUBLE|MAY_BE_RESOURCE)) {
|
||||
if (!write) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue