PHP 8.6 clamp() and Duration: Cleaner Retry Backoff for PHP Apps October 4, 2026 php php-86 internals rfc tips PHP 8.6 adds clamp() and a nanosecond-precision Time\Duration class. See how they tidy up exponential backoff and other bounded-value code. Read more →
PHP 8.6 Gives Streams Real Errors, and You Can Finally Stop Parsing Warning Strings September 10, 2026 php php-8-6 php-internals streams error-handling rfc PHP 8.6 adds StreamErrorMode, StreamError objects and stream_last_errors(), so a failed fopen() reports a typed code instead of a warning string. Read more →
Partial Function Application Lands in PHP 8.6, and the Pipe Operator Finally Makes Sense September 7, 2026 php php-8-6 php-internals functional-programming pipe-operator rfc PHP 8.6 ships partial function application. The ? and ... placeholders build closures from any callable, and they make the 8.5 pipe operator usable. Read more →