mirror of
https://github.com/nikic/PHP-Parser.git
synced 2025-02-21 09:22:59 +01:00
Adding only a single recovery rule for now. The API is now: * throwOnError parser option must be disabled. * List of Errors is available through $parser->getErrors(). This method is available either way. * If no recovery is possible $parser->parse() will return null. (Obviously only if throwOnError is disabled).