DEV Community

saiarlen
saiarlen

Posted on

1

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)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more