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
[E017] Error: cannot declare magic method `EnumWithWakeUp::__set_state` in an enum
   ,-[code.php:4:28]
   |
 3 | enum EnumWithWakeUp {
   *      ^^^^^^^^^^^^^^  
   *                       
 4 |     public static function __set_state($s) {}
   *                            ^^^^^|^^^^^  
   *                                 `------- try removing this magic method
---'