<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/what-s-new-in-php-8-6-and-what-that-means-for-wordpress--3lu6to3yw" -->

---
title: What’s new in PHP 8.6 and what that means for WordPress?
description: PHP 8.6 ships on November 19th, two days after WordPress 7.2 RC1, but WordPress core still supports only PHP 7.4 as a minimum. Features like partial function...
canonical: https://daily.dev/posts/what-s-new-in-php-8-6-and-what-that-means-for-wordpress--3lu6to3yw
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: What’s new in PHP 8.6 and what that means for WordPress? | daily.dev
og:description: PHP 8.6 ships on November 19th, two days after WordPress 7.2 RC1, but WordPress core still supports only PHP 7.4 as a minimum. Features like partial function...
og:url: https://daily.dev/posts/what-s-new-in-php-8-6-and-what-that-means-for-wordpress--3lu6to3yw
og:image: https://api.daily.dev/og/posts/3Lu6tO3yw.png
og:image:alt: What’s new in PHP 8.6 and what that means for WordPress?
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# What’s new in PHP 8.6 and what that means for WordPress?

**[WordPress Developer](https://daily.dev/sources/wordpressdev)** · 8 min read · 1 upvotes · 0 comments

## Summary

PHP 8.6 ships on November 19th, two days after WordPress 7.2 RC1, but WordPress core still supports only PHP 7.4 as a minimum. Features like partial function application will not reach core code soon while that floor stays where it is. PHP 8.6 deprecates Oniguruma-based mbstring regex functions like mb_ereg(), and spl_object_hash() alone appears in 8,772 matches across 2,359 WordPress plugins. About 17% of WordPress sites still run PHP 7.4, down from about 20.5% in April. The post also likes the idea of feature gating, where extra features are offered only on newer PHP versions, as a way to push upgrades.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://developer.wordpress.org/news/2026/11/whats-new-in-php-8-6-and-what-that-means-for-wordpress>

## Questions this post answers

### What is the minimum PHP version WordPress core currently supports

WordPress core requires PHP 7.4 as the minimum supported version, a floor set since WordPress 7.0 after dropping support for PHP 7.2 and 7.3. This means newer PHP 8.x features like named arguments, enums, readonly properties, and PHP 8.6's partial function application cannot be used natively in WordPress core code yet.

_Developers tracking WordPress's PHP version policy can follow these compatibility shifts on daily.dev._

### What new features does PHP 8.6 add

PHP 8.6 introduces partial function application (PFA) using placeholders, a new clamp() function for bounding numeric or date values, two new URI classes building on the 8.5 URI extension, a proposed Time\Duration class, and static closure inference with stateless closure caching for runtime performance gains.

_Teams planning a PHP 8.6 upgrade can keep up with changelog details like these on daily.dev._

### Which deprecated PHP functions are still widely used in WordPress plugins

spl_object_hash() appears in 8,772 matches across 2,359 plugins, is_long() in 10,809 matches across 2,258 plugins, is_integer() in 2,720 matches across 887 plugins, and is_double() in 790 matches across 311 plugins, all flagged for deprecation and eventual removal in PHP 9.

_Plugin maintainers auditing deprecated calls before a PHP upgrade can track these changes on daily.dev._

## Similar posts on daily.dev

- [PHP 8.5 support in WordPress 6.9](https://daily.dev/posts/php-8-5-support-in-wordpress-6-9-lpo16m09c) · Make WordPress Core · 3 upvotes · 0 comments
- [What's new in PHP 8.6](https://daily.dev/posts/what-s-new-in-php-8-6-odxylx0nn) · Amit Merchant · 1 upvotes · 0 comments
- [PHP support clarification, spring 2026 edition](https://daily.dev/posts/php-support-clarification-spring-2026-edition-vydiinxqh) · Make WordPress Core · 5 upvotes · 1 comments
- [What’s new for developers \(July 2026\)](https://daily.dev/posts/what-s-new-for-developers-july-2026--1fusc413s) · WordPress Developer · 10 upvotes · 0 comments

---

Tags: [#php](https://daily.dev/tags/php), [#wordpress](https://daily.dev/tags/wordpress)

[View this post on daily.dev](https://daily.dev/posts/what-s-new-in-php-8-6-and-what-that-means-for-wordpress--3lu6to3yw)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"What’s new in PHP 8.6 and what that means for WordPress?","url":"https://daily.dev/posts/what-s-new-in-php-8-6-and-what-that-means-for-wordpress--3lu6to3yw","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/what-s-new-in-php-8-6-and-what-that-means-for-wordpress--3lu6to3yw"},"datePublished":"2026-11-18T19:53:59.168Z","dateModified":"2026-11-18T20:02:21.751Z","description":"PHP 8.6 ships on November 19th, two days after WordPress 7.2 RC1, but WordPress core still supports only PHP 7.4 as a minimum. Features like partial function...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/b47d5e30d84b40d616ad2d765e04bef5?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/b47d5e30d84b40d616ad2d765e04bef5?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"WordPress Developer","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"WordPress Developer","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/cf1b3c66d466440aac9b5e5092d93e86","url":"https://daily.dev/sources/wordpressdev"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/what-s-new-in-php-8-6-and-what-that-means-for-wordpress--3lu6to3yw","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"php,wordpress","timeRequired":"PT8M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"WordPress Developer","item":"https://daily.dev/sources/wordpressdev"},{"@type":"ListItem","position":3,"name":"What’s new in PHP 8.6 and what that means for WordPress?"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/what-s-new-in-php-8-6-and-what-that-means-for-wordpress--3lu6to3yw#faq","mainEntity":[{"@type":"Question","name":"What is the minimum PHP version WordPress core currently supports","acceptedAnswer":{"@type":"Answer","text":"WordPress core requires PHP 7.4 as the minimum supported version, a floor set since WordPress 7.0 after dropping support for PHP 7.2 and 7.3. This means newer PHP 8.x features like named arguments, enums, readonly properties, and PHP 8.6's partial function application cannot be used natively in WordPress core code yet. Developers tracking WordPress's PHP version policy can follow these compatibility shifts on daily.dev."}},{"@type":"Question","name":"What new features does PHP 8.6 add","acceptedAnswer":{"@type":"Answer","text":"PHP 8.6 introduces partial function application (PFA) using placeholders, a new clamp() function for bounding numeric or date values, two new URI classes building on the 8.5 URI extension, a proposed Time\\Duration class, and static closure inference with stateless closure caching for runtime performance gains. Teams planning a PHP 8.6 upgrade can keep up with changelog details like these on daily.dev."}},{"@type":"Question","name":"Which deprecated PHP functions are still widely used in WordPress plugins","acceptedAnswer":{"@type":"Answer","text":"spl_object_hash() appears in 8,772 matches across 2,359 plugins, is_long() in 10,809 matches across 2,258 plugins, is_integer() in 2,720 matches across 887 plugins, and is_double() in 790 matches across 311 plugins, all flagged for deprecation and eventual removal in PHP 9. Plugin maintainers auditing deprecated calls before a PHP upgrade can track these changes on daily.dev."}}]}
```

