Opens in a new tab

Independent WordPress hosting guides · Recommended host: Convesio

Start a free trial →

PHP 8.6 Is Out: What WordPress Site Owners Should Do

PHP 8.6 was released on 19 November 2026 and WordPress 7.2 supports it. What is new, what changed for plugins, and a calm plan for moving your site.
By Shahzad Hasan · November 24, 2026

PHP 8.6, the language WordPress runs on, was released on 19 November 2026 (php.announce). WordPress says WordPress 7.2 is fully compatible with it (WordPress 7.2 Beta 5). Here is what that means for your site.

What is new in PHP 8.6

The release announcement lists these headline features (PHP 8.6 announcement):

  • Partial function application: developers can fill in some of a function’s arguments now and the rest later.
  • A Duration class for measuring elapsed time.
  • A Polling API for efficient network and file handling, mainly for event-driven PHP libraries.
  • A clamp() function to keep a number within a range.
  • Safer session defaults, and stricter checks that throw errors on invalid input instead of silently carrying on.

Most of this matters to developers. For site owners, the main question is whether your plugins and theme are ready.

What can break

WordPress’s developer blog lists changes that affect some plugins and themes (What is new in PHP 8.6 for WordPress; WordPress and PHP 8.6):

  • Plugins with custom “stream wrappers” can fail to save files unless updated.
  • spl_object_hash() is deprecated.
  • An old image-flip technique now produces black images; core already switched methods.
  • PHP 8.6 also deprecates some functions, such as metaphone() and some mysqli functions, and trim() now also strips form-feed characters (PHP 8.6 announcement).

A calm plan

  1. Do not switch on day one. Give plugin and theme authors a few weeks to release updates.
  2. Update WordPress to 7.2 when it is released, plus your theme and plugins.
  3. Check changelogs of your important plugins (page builder, forms, shop, SEO) for “PHP 8.6”.
  4. Test on staging before switching live. See How to upgrade PHP safely.

The more urgent job for many sites

PHP 8.6 is optional for now. What is not optional is leaving an old version: PHP 8.2 stops getting security fixes on 31 December 2026 (php.net). If your site is on 8.2 or older, plan a move to 8.3 or 8.4 first. See Which PHP version should your site run? and Check your PHP version in two minutes.

Sources: PHP 8.6 release announcement, php.announce: PHP 8.6.0, WordPress Developer Blog, Make WordPress Core, WordPress 7.2 Beta 5, PHP supported versions, checked 24 November 2026.

In this article

Need hosting that scales?

Convesio runs each site in Docker containers with auto scaling and load balancing built in.
Try Convesio free →
Affiliate link: we may earn a commission at no extra cost to you.