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::__wakeup` in an enum
   ,-[code.php:4:21]
   |
 3 | enum EnumWithWakeUp {
   *      ^^^^^^^^^^^^^^  
   *                       
 4 |     public function __wakeup() {}
   *                     ^^^^|^^^  
   *                         `----- try removing this magic method
---'