mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
zend_ast: Remove unused ZEND_AST_EXIT (#17417)
This AST node is no longer used since `exit()` was made a real function in GH-13483.
This commit is contained in:
@@ -2150,13 +2150,6 @@ simple_list:
|
||||
break;
|
||||
case ZEND_AST_CLONE:
|
||||
PREFIX_OP("clone ", 270, 271);
|
||||
case ZEND_AST_EXIT:
|
||||
if (ast->child[0]) {
|
||||
FUNC_OP("exit");
|
||||
} else {
|
||||
APPEND_STR("exit");
|
||||
}
|
||||
break;
|
||||
case ZEND_AST_PRINT:
|
||||
PREFIX_OP("print ", 60, 61);
|
||||
case ZEND_AST_INCLUDE_OR_EVAL:
|
||||
|
||||
@@ -88,7 +88,6 @@ enum _zend_ast_kind {
|
||||
ZEND_AST_SILENCE,
|
||||
ZEND_AST_SHELL_EXEC,
|
||||
ZEND_AST_CLONE,
|
||||
ZEND_AST_EXIT,
|
||||
ZEND_AST_PRINT,
|
||||
ZEND_AST_INCLUDE_OR_EVAL,
|
||||
ZEND_AST_UNARY_OP,
|
||||
|
||||
Reference in New Issue
Block a user