Back Issues/Search Home → Calendar → Archive → RSS → Subscribe → Services → Vendors → Blog → Current Issue → Popular → Newsletters (LinkedIn, Substack)

All issues › Volume 344, Issue 3 › IT News › Developer

PHP 8.6: Things Are Gonna Get a Lot More Strict Around Here

The Register, Friday, November 20th, 2026

PHP 8.6 tightens session security defaults and null-byte handling, arriving with patches for seven critical RCE flaws.

PHP 8.6 was released alongside patched versions of earlier branches that close seven critical remote code execution flaws following a wave of vulnerabilities since October.

Based on a proposal by core developer Jorg Sowa, the release changes session defaults: Strict Mode rejects session IDs PHP did not create, session cookies get the HttpOnly flag, and SameSite withholds cookies on cross-site POST requests, subrequests and iframes.

The engine is also stricter about strings containing null bytes, and some file and copy functions now return false on failure.

New features include Partial Function Application, a native polling API, a Duration class and a clamp() function, and administrators are warned that an existing php.ini with explicit settings will override the new defaults.

more →  ·  More from Developer →