We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70195c3 commit 645ef62Copy full SHA for 645ef62
Zend/zend_enum.c
@@ -425,7 +425,7 @@ static zend_ast_ref *create_enum_case_ast(
425
GC_SET_REFCOUNT(ref, 1);
426
GC_TYPE_INFO(ref) = GC_CONSTANT_AST | GC_PERSISTENT | GC_IMMUTABLE;
427
428
- zend_ast *ast = (zend_ast *) p; p += zend_ast_size(3);
+ zend_ast *ast = (zend_ast *) p; p += zend_ast_size(num_children);
429
ast->kind = ZEND_AST_CONST_ENUM_INIT;
430
ast->attr = 0;
431
ast->lineno = 0;
0 commit comments