You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
case TokenKind::GreaterThanGreaterThanEqualsToken:
1704
+
case TokenKind::AmpersandEqualsToken:
1705
+
case TokenKind::CaretEqualsToken:
1706
+
case TokenKind::BarEqualsToken:
1707
+
case TokenKind::InstanceOfKeyword:
1708
+
// Workarounds for https://github.com/Microsoft/tolerant-php-parser/issues/19#issue-201714377
1709
+
// Parse `!$a = $b` as `!($a = $b)` - PHP constrains the Left Hand Side of an assignment to a variable. A unary operator (`@`, `!`, etc.) is not a variable.
1710
+
// Instanceof has similar constraints for the LHS.
0 commit comments