Skip to content

Commit 035f911

Browse files
committed
Add missing opcode for require_once
1 parent 464c692 commit 035f911

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

parser/base.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,9 @@ void xx_parse_program(zval *return_value, char *program, size_t program_length,
178178
case XX_T_RETURN:
179179
xx_(xx_parser, XX_RETURN, NULL, parser_status);
180180
break;
181+
case XX_T_REQUIRE_ONCE:
182+
xx_(xx_parser, XX_REQUIRE_ONCE, NULL, parser_status);
183+
break;
181184
case XX_T_REQUIRE:
182185
xx_(xx_parser, XX_REQUIRE, NULL, parser_status);
183186
break;

0 commit comments

Comments
 (0)