{
  "id": 20977874,
  "title": "PHP 8.6: Things are gonna get a lot more strict around here",
  "url": "https://urgent.news/2026/11/20/php-8-6-things-are-gonna-get-a-lot-more-strict-around-here",
  "topic": "science",
  "section": "Science",
  "published": "2026-11-20T23:28:47.000Z",
  "source": {
    "name": "The Register Science",
    "slug": "the-register-science",
    "url": "https://www.theregister.com/devops/2026/11/20/php-86-things-are-gonna-get-a-lot-more-strict-around-here/5311486"
  },
  "original_language": "en",
  "account": "PHP 8.6 has been released, bringing stricter security measures to the popular web scripting language. This version addresses over a dozen critical vulnerabilities uncovered since October, which could allow attackers to crash servers or execute arbitrary code. The core development team, along with the PHP Foundation, released patched versions of PHP 8.5.13, 8.4.28, 8.3.37, and 8.2.36, in addition to the new 8.6 release.\n\nKey security enhancements include stricter session management settings, such as enabling Strict Mode, adding HttpOnly flag to session cookies, and restricting session cookies to same-site requests. These changes aim to prevent session hijacking and cross-site request forgery attacks. PHP will now also reject uninitialized session IDs, adding an extra layer of protection against unauthorized access.\n\nThe PHP engine will also become more stringent when encountering null values, potentially throwing errors instead of silently processing them. This will help thwart remote code execution (RCE) attempts, which often exploit null values. Other improvements include a native polling API, Duration class for event-driven networking, and a clamp() function to ensure value ranges.\n\nDespite these enhancements, administrators should be cautious, as some PHP settings may require explicit configuration even after the update. The release of PHP 8.6 aims to make the language more secure, but it is just one component in a broader strategy to protect web applications from emerging threats.",
  "summary": "Like a parent disciplining a misbehaving child, PHP’s annual update clamps down on loose default behaviors to curb malicious hacker horseplay.",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}