Is PHP finally breaking up with PEAR?
A new PHP RFC would end php.net's endorsement of PEAR, unbundle the installer from PHP 8.7, and freeze pear.php.net as a static archive.
Eric L. Barnes
Language proposals as they move through the internals list. What each RFC changes, how the vote went, and when it reaches a release you will actually run.
A new PHP RFC would end php.net's endorsement of PEAR, unbundle the installer from PHP 8.7, and freeze pear.php.net as a static archive.
Eric L. Barnes
PHP 8.6 deprecates four SplFileObject CSV methods. The standalone fgetcsv() and fputcsv() functions and the READ_CSV flag are not affected.
Eric L. Barnes
PHP 8.6 adds partial function application, using ? and ... placeholders to create closures with some function arguments already filled in.
Eric L. Barnes
PHP 8.6 deprecates return statements inside finally blocks because they can silently replace return values or swallow exceptions.
Eric L. Barnes
PHP 8.6 enables strict session mode and HttpOnly cookies by default, while setting SameSite to Lax. Here is what applications should check.
Eric L. Barnes
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
The array_search_range() RFC was withdrawn on August 20 without a vote. Here is what it proposed and why the discussion favored a lazy array slice.
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
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