Commit fd1eacc
authored
Add assertions verifying that zend_ast_decl AST nodes are not treated as regular zend_ast nodes (#17390)
* zend_compile: Do not traverse children of ZEND_AST_CLOSURE in zend_compile_const_expr()
* Add assertions verifying that zend_ast_decl AST nodes are not treated as regular zend_ast nodes1 parent a091e52 commit fd1eacc
File tree
6 files changed
+30
-2
lines changed- Zend
- ext/opcache
6 files changed
+30
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1088 | 1088 | | |
1089 | 1089 | | |
1090 | 1090 | | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
1091 | 1094 | | |
1092 | 1095 | | |
1093 | 1096 | | |
| |||
1141 | 1144 | | |
1142 | 1145 | | |
1143 | 1146 | | |
| 1147 | + | |
| 1148 | + | |
| 1149 | + | |
1144 | 1150 | | |
1145 | 1151 | | |
1146 | 1152 | | |
| |||
1206 | 1212 | | |
1207 | 1213 | | |
1208 | 1214 | | |
1209 | | - | |
| 1215 | + | |
1210 | 1216 | | |
1211 | 1217 | | |
1212 | 1218 | | |
| |||
1237 | 1243 | | |
1238 | 1244 | | |
1239 | 1245 | | |
| 1246 | + | |
| 1247 | + | |
| 1248 | + | |
1240 | 1249 | | |
1241 | 1250 | | |
1242 | 1251 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
334 | 338 | | |
335 | 339 | | |
336 | 340 | | |
| |||
357 | 361 | | |
358 | 362 | | |
359 | 363 | | |
| 364 | + | |
| 365 | + | |
360 | 366 | | |
361 | 367 | | |
362 | 368 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11293 | 11293 | | |
11294 | 11294 | | |
11295 | 11295 | | |
11296 | | - | |
| 11296 | + | |
| 11297 | + | |
11297 | 11298 | | |
11298 | 11299 | | |
11299 | 11300 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
366 | 366 | | |
367 | 367 | | |
368 | 368 | | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
369 | 372 | | |
370 | 373 | | |
371 | 374 | | |
| |||
1248 | 1251 | | |
1249 | 1252 | | |
1250 | 1253 | | |
| 1254 | + | |
| 1255 | + | |
| 1256 | + | |
1251 | 1257 | | |
1252 | 1258 | | |
1253 | 1259 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
195 | 198 | | |
196 | 199 | | |
197 | 200 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
92 | 95 | | |
93 | 96 | | |
94 | 97 | | |
| |||
0 commit comments