php-parser/test/code/parser/errorHandling
Nikita Popov c758510a37 Add support for PHP 8.1
With the introduction of intersection types, PHP now lexes the
token '&' either as T_AMPERSAND_(NOT_)FOLLOWED_BY_VAR_OR_VARARG.
This completely breaks parsing of any code containing '&'.

Fix this by canonicalizing to the new token format (unconditionally,
independent of emulation) and adjusting the parser to use the two
new tokens.

This doesn't add actual support for intersection types yet.
2021-07-09 16:52:58 +02:00
..
eofError.test Perform automated test update 2017-01-19 22:25:22 +01:00
lexerErrors.test Insert T_BAD_CHARACTER tokens for missing characters 2019-06-30 11:43:48 +02:00
recovery.test Add support for PHP 8.1 2021-07-09 16:52:58 +02:00