Right now https://github.com/microsoft/tolerant-php-parser is used as fallback parser, as it does not require any additional PHP extensions. But seems like it is not actively maintained, so it worth exploring replacing it with https://github.com/nikic/PHP-Parser (that also does not require any additional PHP extensions).