From 9bf119832dbf625174794834c71b1e793450d87f Mon Sep 17 00:00:00 2001 From: Ilija Tovilo Date: Sun, 24 May 2020 12:42:48 +0200 Subject: Implement nullsafe ?-> operator RFC: https://wiki.php.net/rfc/nullsafe_operator Closes GH-5619. Co-authored-by: Nikita Popov --- Zend/zend_ast.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Zend/zend_ast.h') diff --git a/Zend/zend_ast.h b/Zend/zend_ast.h index 13f43bdc41..79af596f24 100644 --- a/Zend/zend_ast.h +++ b/Zend/zend_ast.h @@ -108,6 +108,7 @@ enum _zend_ast_kind { /* 2 child nodes */ ZEND_AST_DIM = 2 << ZEND_AST_NUM_CHILDREN_SHIFT, ZEND_AST_PROP, + ZEND_AST_NULLSAFE_PROP, ZEND_AST_STATIC_PROP, ZEND_AST_CALL, ZEND_AST_CLASS_CONST, @@ -147,6 +148,7 @@ enum _zend_ast_kind { /* 3 child nodes */ ZEND_AST_METHOD_CALL = 3 << ZEND_AST_NUM_CHILDREN_SHIFT, + ZEND_AST_NULLSAFE_METHOD_CALL, ZEND_AST_STATIC_CALL, ZEND_AST_CONDITIONAL, -- cgit v1.2.1