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
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.
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.5.10 turns seven stack overflow crashes into catchable errors, forbids \C in UTF-8 regex patterns, and fixes PDO_PGSQL lazy fetching and four JIT bugs.
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 throws ValueError and TypeError exceptions for invalid arguments that many functions once accepted, truncated, or ignored.
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
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