diff --git a/Zend/zend_ast.c b/Zend/zend_ast.c index c1d973f67c85..349906487fde 100644 --- a/Zend/zend_ast.c +++ b/Zend/zend_ast.c @@ -2150,13 +2150,6 @@ static ZEND_COLD void zend_ast_export_ex(smart_str *str, zend_ast *ast, int prio 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: diff --git a/Zend/zend_ast.h b/Zend/zend_ast.h index db41802b16f1..d3689af53ff7 100644 --- a/Zend/zend_ast.h +++ b/Zend/zend_ast.h @@ -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,