PHP 8.6.0 Ships With Partial Application, 17 Security Fixes in 8.5.13 and a Long Deprecation List
Software / news
PHP 8.6.0 Ships With Partial Application, 17 Security Fixes in 8.5.13 and a Long Deprecation List
The release page gives no benchmark figures. The changelog finally names the CVEs behind the critical release PHP announced a day earlier.
PHP 8.6.0 shipped on Nov. 19, 2026, and the release page lists nine headline features alongside a stricter default for session cookies. The same day, the project issued PHP 8.5.13 as a security release, with at least 17 advisories in its changelog.
The release page gives no benchmark figures for any speed claim. Everything below about performance is the project's own description, and nothing independent has measured it yet.
What PHP 8.6 adds
Partial function application is the lead feature. A ? placeholder fixes some arguments and returns a closure for the rest, so version_compare(?, '8.6', '>=') becomes a one-argument callable. The Stitcher blog's pre-release tour notes it pairs naturally with the pipe operator, which needs one-parameter callables.
The other additions are smaller and more concrete:
| Addition | What it does | Caveat from the sources |
|---|---|---|
clamp() | Returns the nearest bound of a range | Works on any comparable value |
\Time\Duration | Elapsed time, nanosecond precision, over 250 years | Stopwatch time, not calendar time |
Io\Poll | epoll, kqueue, event ports or WSAPoll | No built-in event loop |
SortDirection | Enum with Ascending and Descending | Not yet accepted by array_multisort() |
| Readonly defaults | Default values on readonly properties | Constructor cannot overwrite them |
The polling API is the one to read carefully. The release page says it avoids the limit of stream_select(), which typically cannot handle more than 1024 connections, and calls it a foundation for ReactPHP and AMPHP. Stitcher's author is blunter: it "won't introduce any new async features to PHP."
The deprecation list is long
The page lists deprecations in the dozens. Returning from a finally block is deprecated. So are is_double(), is_long(), is_integer() and doubleval(), with is_float(), is_int() and floatval() as replacements, and spl_object_hash() in favour of spl_object_id().
The mbstring regex family, including mb_ereg() and mb_split(), is deprecated because Oniguruma is no longer maintained. The replacement is PCRE with the u modifier. Using let or is as a class, function or constant name is deprecated, as is _ as a constant name.
Session defaults and the behaviour changes
Three session settings now default to the safer value: session.use_strict_mode and session.cookie_httponly are on, and session.cookie_samesite is Lax. Stitcher lists where that breaks code: custom session ID handoffs, JavaScript that reads the session cookie, and cross-site POST flows.
Two quieter changes can alter output. trim(), ltrim() and rtrim() now strip form feed by default. And fclose(), file_put_contents() and copy() return false when flushing or closing fails, where they previously ignored the failure.
Many functions also throw ValueError for out-of-range values, invalid flags or NUL bytes instead of truncating silently. A test suite that passed on 8.5 with quiet truncation can fail on 8.6 for that reason alone.
Security releases landed the same day
The PHP changelog dates both 8.6.0 and 8.5.13 to Nov. 19. The 8.5.13 entry lists at least 17 GitHub advisories, among them CVE-2026-129474, CVE-2026-129182 and CVE-2026-129538. The 8.6.0 entry carries fixes for CVE-2026-129474, CVE-2026-129182 and CVE-2026-128090.
That matches the notice The Terminal covered a day earlier, when PHP scheduled a critical release with no CVEs published. The changelog now supplies the identifiers. It does not state which of them is the one rated critical, so that question is still open, and the changelog does not mention 8.4.x.
Teams still on the 8.5 line should take 8.5.13 first. The 8.6 upgrade is a separate decision, and the deprecation list is the reason to run it in staging. Another language runtime patched memory bugs this month too: Ruby 4.0.10 fixed seven.
Sources
More in Software
- 01Muru, Graham Dumpleton's Rust Server for Python Apps, Has 185 Open Issues and No BenchmarksThe mod_wsgi author's alpha project takes contributions as requirements rather than code, and its first post shows a 0.2 ms log line.
- 02Fast-Anything Reports a 116x Python Speedup, and 8 of Its 9 Benchmark Rows Run One JobThe MIT-licensed tool ports hot functions to Rust with a coding agent, and its README gives no run counts or variance.
- 03ClawDOS Runs a Claude Coding Agent on a 4.77 MHz IBM PC XT, With TLS Handed to a TunnelThe GPLv3 project keeps a 176 KB harness on the 8088 and offloads encryption to a second machine, leaving a launched program 200K of the 640K.
- 04Levien's Next-100 Rust GUIs Post Counts About 20 New Toolkits and Bets Against egui's Immediate ModeThe Linebender author credits AI rewrites for the surge; egui's own README concedes the trade-off he is pressing on.