Category: PHP, PHP

Scout APM helps PHP developers pinpoint N+1 queries, memory leaks & more so you can troubleshoot fast & get back to coding faster. PHP 8.1 is currently in active development and will probably be released somewhere around the end of November 2021.

To give you a quick preview of what they would look like, here's a code sample: And this is how they would be used: While PHP 8.1 is a minor version, there will be some changes that might technically be a breaking change, and deprecations as well.

We can conclude the impact of this — technically breaking — change will be low, which is why internals decided to add it in PHP 8.1.

For example, this is currently possible: In PHP 8.1, these kinds of errors will throw a deprecation warning, in PHP 9 they will be converted to type errors.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners