tolerant-php-parser
tolerant-php-parser copied to clipboard
An early-stage PHP parser designed for IDE usage scenarios.
Run this alongside Travis CI - Start testing this with php 8.2, the feature freeze was in July with the first beta https://wiki.php.net/todo/php82 - php betas are often late for...
https://github.com/Microsoft/tolerant-php-parser/pull/156#discussion_r122614440
Any expression can be used as of 8.0 without an unexpected syntax error. In encapsulated strings, `"${a->prop}"` is equivalent to `"{${(a->prop)}}"` in php 8.0 and a syntax error in previous...
1. Support https://wiki.php.net/rfc/readonly_classes - the class modifiers become repeatable, it becomes a compile error rather than a parse error to repeat modifiers or to combine abstract&final 2. Support https://wiki.php.net/rfc/constants_in_traits 3....
https://wiki.php.net/rfc/dnf_types
[PR 331](https://github.com/microsoft/tolerant-php-parser/pull/331) doesn't support PHP8 valid namespaces which are a single non-string token. For instance, while the first code block will work without issue on PHP8 (as `T_NAME_QUALIFIED` will be...
I was wondering, could you speak to the motivation or near/long-term goals of this project? When first I saw this project emerge, I thought, "great, a company with real resources...
Not sure if you're at liberty to discuss at this point, but related to https://github.com/Microsoft/tolerant-php-parser/issues/36#issuecomment-274563749, I was wondering if you had future plans in the PHP tooling space. Will you...
Also any suggestions for tools? There's xdebug + webgrind... any other favorite workflows?