History log of /PHP-Parser/test/code/prettyPrinter/expr/newVariable.test (Results 1 – 4 of 4)
Revision Date Author Comments
# cc34c245 27-Feb-2023 Nikita Popov

Fix logic for new operand parentheses requirement

We need to perform this check recursively.


# 1eb6b565 26-Feb-2023 Nikita Popov

Properly handle new/instanceof operand restrictions

Fixes #912.


# d3d1297c 06-Jun-2022 Nikita Popov

Remove PHP 5 parser


# 8bcaa426 09-Aug-2020 Nikita Popov

Add parens for new/instanceof with complex expression

This is not fully accurate because the rules for "new variables"
are different than the rules for dereferenceable LHS.