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
[E010] Error: standalone type `never` cannot be used in a union
   ,-[code.php:3:17]
   |
 3 | function foo(): never|string {
   *                 ^^|^^^  
   *                   `----- try using a type other than `never`
   *                         
   *                          
   * 
   * Note: `never`, `void`, `mixed`, and nullable types cannot be used in a union
---'