PHP 8.6 Deprecates Session Handlers Without create_sid()
PHP 8.6 deprecates session handlers missing create_sid() and validateId(), and warns when the class is declared. Laravel's handlers trip it.
Eric L. Barnes
PHP 8.6 is in beta with the feature list locked: partial function application, the Time\Duration class, clamp(), a new polling API, and 31 accepted deprecations. Every article below covers one piece of it.
PHP 8.6 deprecates session handlers missing create_sid() and validateId(), and warns when the class is declared. Laravel's handlers trip it.
Eric L. Barnes
PHP 8.6 lets you change an object's properties through a constant while keeping the constant itself unchanged.
Eric L. Barnes
PHP 8.6 Beta 1 ships August 13 and starts the soft feature freeze, locking in partial application, clamp(), the Duration class, and a new polling API.
Eric L. Barnes
The PHP 8.6 mass deprecation RFC closed with 31 proposals accepted and 4 rejected, including a 23 to 23 tie on list() and a no vote on the dechunk filter.
Eric L. Barnes
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
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