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
11
12
13
14
15
[E032] Error: cannot declare `readonly` property `Foo\Bar\Baz::$foo` as 'static'
   ,-[code.php:6:22]
   |
 5 | final class Baz {
   *             ^^^  
   *                   
 6 |      public readonly static string $foo;
   *             ^^^^^^^^ ^^^|^^        ^^^^  
   *                         |                 
   *                         |                
   *                         |                 
   *                         |                
   *                         `---------------- try removing this
---'