theregister.com·20 november 2026

PHP 8.6: Things are gonna get a lot more strict around here

Image for the article: PHP 8.6: Things are gonna get a lot more strict around here
Image via theregister.com

PHP 8.6 was released on Thursday, addressing seven critical remote code execution (RCE) flaws and tightening security defaults. The update includes stricter session handling, blocking client-side JavaScript from reading session IDs and preventing cross-site request forgeries. PHP 8.6 also introduces new features like Partial Function Application (PFA) and a native polling API. The changes aim to make PHP more secure and difficult for attackers to exploit.