PHP @ 30 still evolving, adds pipe operator, maybe generics
Briefly

PHP @ 30 still evolving, adds pipe operator, maybe generics
"PHP is set to introduce the pipe operator in version 8.5, enhancing readability and enabling concise programming with a functional approach, akin to F#."
"There is consideration for a partial implementation of generics in PHP, specifically for interfaces and abstract classes, with feedback from the community requested."
"Over 70 percent of websites employing server-side programming use PHP, demonstrating its ongoing relevance and growth, particularly through popular content-management systems."
"The FrankenPHP app server has been formally adopted by the PHP Foundation, further integrating it into PHP development and the official organization."
PHP will include a new pipe operator in its 8.5 release, allowing for cleaner and more readable code by chaining expressions. The operator resembles one found in F# and will enable partial function applications. The PHP team is also considering introducing compile-time generics, focusing on interfaces and abstract classes. Community feedback has been mixed regarding the potential limitations of this generic implementation. PHP remains prevalent in web development, powering over 70% of server-side websites, and the FrankenPHP app server has been officially adopted by the PHP Foundation.
Read at Theregister
Unable to calculate read time
[
|
]