DEV Community


PHP 8 New Features

I am a Web developer with a passion for web application development and interactive user-centred websites and I would love to code and build new things!
・1 min read

-> 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

Discussion (0)

Forem Open with the Forem app