php-parser icon indicating copy to clipboard operation
php-parser copied to clipboard

PHP parser written in Go

Results 5 php-parser issues
Sort by recently updated
recently updated
newest added

## PHP Version 8.0 8.1 ## Code Example ```php class Enum{} ``` ## Actual Behavior 2023/12/15 09:35:40 syntax error: unexpected T_ENUM, expecting T_STRING at line 1 ## Expected Behavior ```...

prior, php-parser would panic if a file was terminated by a lone \r

## PHP Version 5.6 ```php data:=`

1. Remove old links 2. Add topics 3. Enable GitHub CI 4. Update LICENSE

documentation

## PHP Version 7.4 and 8.0 ## Code Example ```php "$property->name[]"; ``` ## Actual Behavior ``` ==> syntax error: unexpected '[' at line 2 ``` ## Expected Behavior No error.

bug