Should You Move to PHP 8.6? A Cautious Checklist for WordPress Sites

PHP 8.6 shipped on November 19, 2026, the newest feature release of the language WordPress itself runs on. Two days earlier, WordPress 7.2 had already entered Release Candidate 1, on its way to a final build still scheduled for December 8, 2026. We walked through the same kind of cautious call last year in our Should You Upgrade to WordPress 7.0? checklist; this time, it’s PHP itself on the table. Let’s walk through what WordPress actually says about running PHP 8.6, together.

What PHP 8.6 actually changes for a WordPress site

PHP itself gained a real feature set in 8.6. WordPress’s own developer blog walked through what’s new in PHP 8.6, in a post by Milana Cap published November 18, 2026. Partial function application, using a ? or ... placeholder, lets a developer turn any function call into a reusable template rather than writing a wrapper closure by hand.

Three smaller changes matter more for everyday code. The new clamp() function bounds a value between a minimum and a maximum in one call — equivalent bounding logic already exists in WordPress Core since version 7.1, built independently for fluid typography, unrelated to this PHP feature. A new Time\Duration class adds nanosecond precision to anything that currently juggles raw seconds, from object cache TTLs to cron intervals. And PHP’s Sodium extension gains post-quantum cryptography, X-Wing and ML-KEM-768, ahead of a threat that is still mostly theoretical for an ordinary WordPress site today.

PHP 8.6 also changes three session defaults without asking. session.use_strict_mode and session.cookie_httponly now turn on by themselves, and session.cookie_samesite switches to Lax. Any plugin that relies on the old, looser session behavior inherits these new defaults the moment PHP upgrades, not when WordPress does. That same PHP 8.6 release is also where the fix for CVE-2026-115560 ships natively, disabling upload progress by default instead of leaving it to a manual runtime setting. We covered that critical PHP flaw when it first surfaced in October; PHP 8.6 simply folds the fix into the language itself.

WordPress Developer Blog post on what is new in PHP 8.6 and what it means for WordPress
The WordPress Developer Blog’s own walkthrough of PHP 8.6, published November 18, 2026, a day before the language actually shipped.

Why WordPress says to wait for 7.2 before you upgrade

Make WordPress Core published its own verdict on November 23, 2026, in a post titled “WordPress and PHP 8.6”. Jonathan Desrosiers wrote that every known PHP 8.6 compatibility issue in WordPress Core is already resolved, and that WordPress 7.2 is fully compatible with PHP 8.6 as of its Beta 5 release. That confirmation covers WordPress 7.2, not the version most sites still run today. WordPress’s own minimum supported PHP version stays at 7.4, unchanged since WordPress 7.0, and compatibility confirmed for a new PHP release is never quietly backported to an older WordPress branch. If your site still runs WordPress 7.1.x, PHP 8.6 compatibility simply hasn’t been checked for you yet.

Make WordPress Core announcement on WordPress and PHP 8.6 compatibility
Make WordPress Core, November 23, 2026: WordPress 7.2 is confirmed compatible with PHP 8.6. The post does not extend that confirmation to earlier branches.

WordPress 7.2 itself is not out yet. It reached Release Candidate 3 on November 24, 2026, and WordPress’s own announcement is blunt about what that means: do not install, run, or test this version on production or mission-critical sites. The final release stays scheduled for December 8, 2026. PHP 8.6 is already out. WordPress 7.2 is not. That gap is easy to miss in a changelog, and it’s THE detail this whole checklist turns on.

WordPress.org News announcement of WordPress 7.2 Release Candidate 3
WordPress 7.2 Release Candidate 3, announced November 24, 2026: still a test build, not for production sites.

Three concrete fixes made that Core compatibility possible, each specific enough to matter if you maintain a plugin or a custom upload workflow. PHP 8.6 updates the system’s file-type library to version 5.48, which now reports .ttf font files as font/ttf instead of the older font/sfnt; WordPress accepts both values rather than rejecting font uploads outright. Custom stream wrappers must now implement a stream_flush() method, or functions like fclose(), file_put_contents(), and copy() start silently returning false. PHP 8.6’s updated GD library also changed how imagecopyresampled() handles flipped images, so WordPress Core switched to imageflip() for that specific case.

Check your plugins against these deprecated functions before you flip the switch

WordPress’s own developer blog, developer.wordpress.org, also ran its own scan of the plugin directory to size up the real risk, and the numbers it found are specific enough to act on. spl_object_hash() turns up 8,772 times across 2,359 plugins; its replacement, spl_object_id(), returns an integer instead of a 32-character string, so a blind find-and-replace isn’t always safe. is_long() appears 10,809 times across 2,258 plugins, and is_integer() turns up 2,720 times across 887 plugins; both are long-deprecated aliases for is_int(). PHP 8.6 also removes several Oniguruma-based regex functions, including mb_ereg(), mb_ereg_replace(), and mb_split(), which WordPress.org flags as widely used across the plugin ecosystem too.

Close-up of a person coding on a laptop, with CSS code visible on screen
Checking a plugin’s own code against the deprecated functions list is the one step a changelog can’t do for you.

None of those functions crash a site outright on PHP 8.6: they raise deprecation notices, not fatal errors, for now. But a notice today is a fatal error in a future PHP release, and a theme or plugin you haven’t updated in two years is exactly the kind of code that still calls is_long() instead of is_int(). The only way to know which of your own plugins are affected is to check, not to guess from a changelog.

FAQ

Does WordPress 7.1 support PHP 8.6?

Not officially. Make WordPress Core confirmed PHP 8.6 compatibility specifically for WordPress 7.2, starting from its Beta 5 build, and that confirmation hasn’t been extended to WordPress 7.1.x. The two versions were tested and fixed together; running an older WordPress branch on the newest PHP release is untested territory.

Will PHP 8.6 break my WordPress plugins?

Most won’t break outright, but some will start logging deprecation notices for functions like spl_object_hash(), is_long(), and is_integer(). developer.wordpress.org’s own scan found these across thousands of plugins, so checking your active plugins is worth the ten minutes it takes.

When does WordPress 7.2 come out?

WordPress 7.2’s final release is scheduled for December 8, 2026. As of Release Candidate 3 on November 24, 2026, WordPress itself still recommends testing the build only on staging environments, never on production or mission-critical sites.

Our take

Beyond the new syntax, what matters this week is sequencing, not the language features themselves. A WordPress site owner doesn’t need PHP 8.6 today, and running it ahead of WordPress 7.2 trades a feature you can’t fully use yet for a compatibility status nobody has actually confirmed on your branch.

Here’s how we’d weigh it, plugin by plugin and site by site. If you already run WordPress 7.2 once it ships, and you’ve checked your active plugins against the four deprecated functions above, moving to PHP 8.6 is a reasonable, low-risk step. If you’re still on WordPress 7.1.x, or you haven’t audited your plugins yet, hold off until December 8, update WordPress first, and run that plugin check before you ask your host to flip the PHP version.

As with any version jump, test the move on a staging copy of your site before you touch the live one, and confirm with your host which PHP version your production environment actually runs today; plenty of hosts stay a step behind the newest release on purpose. If you want the fuller picture of what else ships alongside this PHP question, read our piece on Ipsum, WordPress 7.2’s new default theme, the other half of this same release. Enjoy testing PHP 8.6, carefully!


Photos: Tima Miroshnichenko/Pexels, Lukas Blazek/Pexels. Screenshots: WordPress Developer Blog, Make WordPress Core, and WordPress.org News, all official WordPress.org properties.