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
[E005] Error: unexpected token `fn`, expecting a variable
   ,-[code.php:1:26]
   |
 1 | <?php class Foo { public fn() {}; }
   *                          ^|  
   *                           `-- expected a variable
---'