mirror of
https://github.com/nikic/PHP-Parser.git
synced 2025-07-22 23:01:26 +02:00
a) Don't check for !== false, preg_match() return 0 if there is no match. This effectively means that the check was always true. b) Check for hex characters only if there's an 0x prefix. 1_1 is very likely a numeric separator, but a_b might well be part of an identifier. Fixes #639.