PHP 8.6 Partial Function Application With ? and ...
PHP 8.6 adds partial function application, using ? and ... placeholders to create closures with some function arguments already filled in.
Eric L. Barnes
PHP 8.6 adds partial function application, using ? and ... placeholders to create closures with some function arguments already filled in.
Eric L. Barnes
PHP 8.6 deprecates return statements inside finally blocks because they can silently replace return values or swallow exceptions.
Eric L. Barnes
Mago 1.47 adds a language-neutral Extension API and PHP SDK for custom lint rules and analyzer plugins without changing Mago's Rust source.
Eric L. Barnes
The PHP Foundation's new guide explains 11 ways to contribute to PHP, from testing prereleases and writing PHPT tests to helping local communities.
Eric L. Barnes
PHP 8.6 enables strict session mode and HttpOnly cookies by default, while setting SameSite to Lax. Here is what applications should check.
Eric L. Barnes
WordPress 7.1 adds responsive block styles, inline Notes, browser-based media processing, a persistent toolbar, and new developer APIs.
Eric L. Barnes
Leaf PHP 5 adds a compiled routing engine and the Leaf Crash error reporter, fixes skipped group middleware, and now requires PHP 8.2.
Eric L. Barnes
PHP 8.6 throws ValueError and TypeError exceptions for invalid arguments that many functions once accepted, truncated, or ignored.
Eric L. Barnes
PHP 8.6 deprecates session handlers missing create_sid() and validateId(), and warns when the class is declared. Laravel's handlers trip it.
Eric L. Barnes
The array_search_range() RFC was withdrawn on August 20 without a vote. Here is what it proposed and why the discussion favored a lazy array slice.
Eric L. Barnes
PHP 8.6 lets you change an object's properties through a constant while keeping the constant itself unchanged.
Eric L. Barnes
Rector 2.6.2 finishes the move to composer-based sets, removes the per-version set providers, and adds a --php flag for PHP-only upgrade runs.
Eric L. Barnes