mirror of
https://github.com/php/php-src.git
synced 2026-04-13 11:02:55 +02:00
Add missing rc1/rcn to return type initialization
This commit is contained in:
@@ -4027,7 +4027,8 @@ void zend_func_return_info(const zend_op_array *op_array,
|
||||
|
||||
if (!ret->type) {
|
||||
/* We will intersect the type later. */
|
||||
ret->type = MAY_BE_REF | MAY_BE_ANY | MAY_BE_ARRAY_OF_ANY | MAY_BE_ARRAY_OF_REF | MAY_BE_ARRAY_KEY_ANY;
|
||||
ret->type = MAY_BE_ANY | MAY_BE_ARRAY_OF_ANY | MAY_BE_ARRAY_OF_REF | MAY_BE_ARRAY_KEY_ANY
|
||||
| MAY_BE_RC1 | MAY_BE_RCN | MAY_BE_REF;
|
||||
}
|
||||
|
||||
for (j = 0; j < blocks_count; j++) {
|
||||
|
||||
Reference in New Issue
Block a user