php-parser-rs 0.1.3

A handwritten recursive-descent parser for PHP written in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
[E020] Error: cannot use 'static' as constant modifier
   ,-[code.php:4:5]
   |
 4 |     static const BAR = 34;
   *     ^^^|^^  
   *        `---- try removing this
   * 
   * Note: only `public`, `protected`, `private`, and `final` modifiers can be used on constants
---'