]> granicus.if.org Git - php/commitdiff
Merge branch 'PHP-7.2' into PHP-7.3
authorNikita Popov <nikita.ppv@gmail.com>
Fri, 5 Jul 2019 09:40:45 +0000 (11:40 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Fri, 5 Jul 2019 09:40:45 +0000 (11:40 +0200)
1  2 
ext/opcache/Optimizer/zend_inference.c

index b352ab08898c755984072d25b3e8636bd43a78d1,17e7d8e1a90fb492a318664735ba4ab75e364454..e37ab32681a7904d8023e83851c928c3e9251946
@@@ -3226,7 -3185,9 +3226,10 @@@ static int zend_update_type_info(const 
                                                case ZEND_FETCH_DIM_W:
                                                case ZEND_FETCH_DIM_RW:
                                                case ZEND_FETCH_DIM_FUNC_ARG:
 +                                              case ZEND_FETCH_LIST_W:
+                                               case ZEND_ASSIGN_DIM:
+                                                       tmp |= MAY_BE_ARRAY | MAY_BE_ARRAY_OF_ARRAY;
+                                                       break;
                                                case ZEND_ASSIGN_ADD:
                                                case ZEND_ASSIGN_SUB:
                                                case ZEND_ASSIGN_MUL: