Tagged articles

PHP 8.6

6 articles · Page 1 of 1
Open Source Tech Hub
Open Source Tech Hub
Oct 1, 2026 · Backend Development

PHP 8.6 Native Async: STF IO Hooks Architecture Deep Dive

PHP's new STF IO hooks design introduces a four-layer native async architecture integrating Poll API, IO Hooks, Operation Queues, and cross-platform completion drivers (io_uring/IOCP), enabling existing synchronous functions like curl_exec and fread to run as non-blocking coroutines without code changes.

BackendFiberIOCP
0 likes · 14 min read
PHP 8.6 Native Async: STF IO Hooks Architecture Deep Dive
21CTO
21CTO
Sep 20, 2026 · Backend Development

PHP 8.6 Stream Errors: Typed Codes Replace Warning Strings for Robust Handling

PHP 8.6 introduces StreamErrorMode, StreamError objects, and stream_last_errors() to provide typed error codes for stream operations, replacing fragile warning string parsing. It details three context options, exception and silent modes, StreamException with StreamErrorCode enum (70+ cases), handling multiple errors, new context parameters for four functions, and backward compatibility.

Error HandlingPHP 8.6RFC
0 likes · 13 min read
PHP 8.6 Stream Errors: Typed Codes Replace Warning Strings for Robust Handling
21CTO
21CTO
Sep 16, 2026 · Backend Development

PHP 8.6 Preview: Partial Function Application, clamp(), Duration & Polling API

PHP 8.6, slated for November 19, 2026, introduces partial function application with ? and ... placeholders, a clamp() function for value bounding, a Time\Duration class with nanosecond precision, readonly property defaults, parameter doc comments, an Io\Poll API for I/O multiplexing, SortDirection enum, enum __debugInfo(), unified stream error handling, URI builder enhancements, and stricter session security defaults.

DurationPHP 8.6Partial Function Application
0 likes · 10 min read
PHP 8.6 Preview: Partial Function Application, clamp(), Duration & Polling API
Open Source Tech Hub
Open Source Tech Hub
Sep 16, 2026 · Backend Development

PHP 8.6 Features: Partial Application, clamp(), Time\Duration & More

PHP 8.6, releasing November 19, 2026, introduces 11 major features including partial function application with ? and ... placeholders, a built-in clamp() function, Time\Duration class for nanosecond precision, readonly property defaults, inline parameter doc comments, a cross-platform Io\Poll API, SortDirection enum, enum __debugInfo() support, unified stream error handling, URI builder enhancements, and stricter session security defaults.

PHP 8.6Partial Function ApplicationPolling API
0 likes · 11 min read
PHP 8.6 Features: Partial Application, clamp(), Time\Duration & More
21CTO
21CTO
Sep 5, 2026 · Backend Development

PHP 7.4–8.6 Benchmarks: JIT Gains and a Regression in 8.6 Git

Phoronix benchmarks PHP 7.4 through 8.6 Git on an Intel Xeon 678X running Fedora 44, revealing incremental performance gains across the 8.x series but a notable regression in PHPbench for 8.6 Git that may be resolved before the stable release, while JIT-enabled 8.6 shows slight improvements in microbenchmarks.

BenchmarkJITPHP
0 likes · 5 min read
PHP 7.4–8.6 Benchmarks: JIT Gains and a Regression in 8.6 Git
21CTO
21CTO
Aug 27, 2026 · Backend Development

What PHP 8.6 Brings: Simplified Function Calls Illustrated

The article previews PHP 8.6’s upcoming function‑argument placeholder feature and shows how it can replace a multi‑step pipeline of arrow functions with a concise slug‑generation snippet, making the code shorter and clearer.

BackendPHPPHP 8.6
0 likes · 2 min read
What PHP 8.6 Brings: Simplified Function Calls Illustrated