@@ -394,7 +394,7 @@ AST_CLASS: name, docComment, extends, implements, stmts, (for enu
394394AST_CLASS_CONST: class, const
395395AST_CLASS_CONST_GROUP class, attributes, type // version 80+
396396AST_CLASS_NAME: class // version 70+
397- AST_CLONE: expr // version < 120
397+ AST_CLONE: expr // prior to version 120
398398AST_CLOSURE: name, docComment, params, uses, stmts, returnType, attributes // name removed in version 110
399399AST_CLOSURE_VAR: name
400400AST_CONDITIONAL: cond, true, false
@@ -407,7 +407,7 @@ AST_DO_WHILE: stmts, cond
407407AST_ECHO: expr
408408AST_EMPTY: expr
409409AST_ENUM_CASE: name, expr, docComment, attributes // php 8.1+ enums
410- AST_EXIT: expr
410+ AST_EXIT: expr // prior to version 120
411411AST_FOR: init, cond, loop, stmts
412412AST_FOREACH: expr, value, key, stmts
413413AST_FUNC_DECL: name, docComment, params, stmts, returnType, attributes
@@ -515,7 +515,8 @@ are listed.
515515
516516Supported since 1.1.3 (TBD).
517517
518- * ` clone $expr ` is now represented like a ` clone($expr) ` function call (using ` AST_CALL ` ).
518+ * ` clone $expr ` is now represented like a function call (using ` AST_CALL ` instead of ` AST_CLONE ` ).
519+ * ` exit($expr) ` is now represented like a function call (using ` AST_CALL ` instead of ` AST_EXIT ` ).
519520
520521### 110 (current)
521522
0 commit comments