PHP RFC
Here are all the posts tagged PHP RFC.
November 21, 2025 β’ 5 min read
Discover the main new features in PHP 8.5
As has been tradition over the last decade, PHP gets a new version every year, and now it's PHP 8.5's turn. If you follow this blog or my LinkedIn, you've probably already seen some of these new...
May 18, 2025 β’ 2 min read
The "Pipe" Operator |> in PHP 8.5
π PHP 8.5 will bring a new operator: the Pipe Operator |>.
Yes, an old proposal for the language will finally be implemented, adding a new operator to PHP.
The operator has the...
May 7, 2025 β’ 1 min read
array_first() and array_last() in PHP 8.5
π PHP 8.5 will have two more array functions: array_first() and array_last().
Finally, we'll have dedicated functions to get the first and last elements of an array,...
March 5, 2025 β’ 1 min read
Marking return values as important (#[\NoDiscard]) in PHP 8.5
A new RFC currently under vote for PHP 8.5 proposes adding the #[\NoDiscard] attribute, which warns when the return value of a function or method isn't used. Ignoring return values can lead to...
December 24, 2024 β’ 2 min read
Closure support in constant expressions in PHP 8.5
In PHP, Closures are anonymous functions that can be assigned to variables, passed as arguments, or returned by other functions. They're widely used to simplify the creation of...
November 20, 2024 β’ 5 min read
Discover the main new features in PHP 8.4
As has been tradition over the last decade, PHP ships a new version of the language every year, and now it's PHP 8.4's turn. If you follow this blog or my LinkedIn, you've probably already seen some...
May 15, 2024 β’ 2 min read
Calling class methods without parentheses in PHP 8.4
With PHP 8.4, you'll be able to call class methods without using parentheses when creating the instance. π
That's what the RFC proposes: new MyClass()->method() without...
April 15, 2024 β’ 3 min read
Property Hooks in PHP 8.4
For a while now, the community has been discussing the implementation of Property Hooks.
A consensus has now been reached, and the feature will be available in PHP 8.4.
This feature...
February 24, 2024 β’ 1 min read
OOP Curl API in PHP 8.4
PHP will get an OOP API for the cURL extension in version 8.4.0.
That's what the RFC proposes: Add OOP methods to Curl objects.
The proposal is part of the ongoing package...
January 26, 2024 β’ 2 min read
BLAKE3 in PHP
On 01/19, a Pull Request (PR) was submitted to the PHP project aiming to add support for the BLAKE3 hashing function. ππ
Until then, I didn't know about this function. However,...