DEV Community


Posted on

PHP 8 New Features

-> Arrays starting with a negative index
-> TypeError on invalid arithmetic/bitwise operators
-> Reclassification of various engine errors
-> Consistent type errors for internal functions
-> Fatal error for incompatible method signatures
-> Locale independent float to string conversion
-> Variable Syntax Tweaks
-> Named Arguments
-> Nullsafe operator
-> Non-capturing catches
-> throw expression

official Doc

Top comments (0)