Support PHP 8.1 features
Not sure to create a separated issue for each or not, but add support for PHP 8.1 features mentioned here and here, including:
-
Enums -
Fibers (?) -
First Class Callable Syntax -
Octal Literal Prefix -
Intersection Types -
Never Type -
new
in Initializers -
readonly
Properties -
Final Class Constants
If you want this also, hit the thumbs-up button, in order to know how many people want this.
Edited by Mohammad Amin Chitgarha