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
[E037] Error: property `Foo::$s` cannot have type `callable`
   ,-[code.php:4:12]
   |
 3 | class Foo {
   *       ^^^  
   *             
 4 |     public callable $s;
   *            ^^^^|^^^ ^^  
   *                |         
   *                |        
   *                `-------- try using a different type
   * 
   * Note: `void`, `never`, and `callable` types are not allowed in properties
---'