Content Deep Dive
Getting Ready for PHP 7
Blog post from DigitalOcean
Post Details
Company
Date Published
Author
Kunju Perath
Word Count
1,753
Language
English
Hacker News Points
-
Summary
The PHP 7 release is expected to bring significant improvements, including a performance boost and new language features. The new uniform variable syntax will change the way expressions are evaluated, and engine exceptions will facilitate handling errors in applications. Two new operators, the spaceship operator and the null coalesce operator, have been added, which can make code more concise and readable. Scalar type hints will also be introduced, allowing for more precise control over function and method parameters. The release is expected to occur before the end of 2015, but a beta version is already available for testing, and users are encouraged to test their applications and report any issues they find.