PHP 8.6 is out
The PHP development team announces that PHP 8.6.0 is now available.
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.
The PHP development team announces that PHP 8.6.0 is now available.
Eric L. Barnes
PHP 8.6.0 RC7 updates timelib and fixes Fileinfo, OpenSSL, streams, and array_map() bugs. Test it now, because GA is planned for November 19.
Eric L. Barnes
PHP 8.6 adds RC6 this week because the php2shell fix changed the ABI. Extensions need a rebuild, and GA is still planned for next week.
Eric L. Barnes
PHP 8.6.0 RC5 is out for testing, and PHP 8.6.0 is expected on November 19. Run your tests and dependencies against it now, not in production.
Eric L. Barnes
PHP 8.6.0 RC3 restores warnings inside fibers on the official Docker images and fixes hrtime() running 4% fast. GA is still set for November 19.
Eric L. Barnes
PHPenomenal 8.6 challenges you to build a working PHP app with PHP 8.6 features before the release on November 19. The best entries win an elePHPant.
Eric L. Barnes
PHP 8.6.0 RC2 is the first release candidate for PHP 8.6. A packaging bug skipped RC1, and GA is set for November 19, 2026.
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