PHP 8.6 Readonly Properties Can Have Default Values
The Readonly Property Defaults RFC passed 24 to 0, so PHP 8.6 lets you declare a default on a readonly property instead of setting it in the constructor.
Eric L. Barnes
Everything happening to PHP itself. Version releases, RFCs working their way through a vote, deprecations you will hit on your next upgrade, and the internals work behind them.
The Readonly Property Defaults RFC passed 24 to 0, so PHP 8.6 lets you declare a default on a readonly property instead of setting it in the constructor.
Eric L. Barnes
Time\Duration is merged for PHP 8.6. Build durations are in seconds, milliseconds, or hours; add, divide, and compare them.
Eric L. Barnes
Artisan Build's weekly php-internals video covers the 35-ballot PHP 8.6 deprecation vote closing August 10, with list() still short of two-thirds.
Eric L. Barnes
Brent Roose's PHP 8.6 rundown walks through partial function application, the new polling API, clamp(), the Duration class, and 20+ deprecations.
Eric L. Barnes
PHP 8.5.9 is a security release patching a Postgres SQL injection in pg_insert(), a BCMath out-of-bounds write, and Phar and GD CVEs.
Eric L. Barnes
In PHP 8.6, closures drop the $this they never used, and two stateless closures from the same line are now the same object, so === returns true.
Eric L. Barnes
PHP 8.5.8 patches a memory corruption CVE in openssl_encrypt with AES-WRAP-PAD, restores SoapServer::handle() without raw input, and fixes three Opcache bugs.
Eric L. Barnes