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