thephp.foundation
Compile-time generics could bring many of the benefits of generics to PHP without the runtime complexity
they usually require.
Restricting generics to interfaces and abstract classes and resolving type parameters during compilation
is a pragmatic
approach that might deliver most of the value developers want, without fundamentally changing how PHP works.
Picked by Sebastian Bergmann –
"Gina and Larry have produced outstanding research that provides an excellent background for understanding
the challenges of implementing generics in a dynamic language."
tideways.com
The PHP performance experts at Tideways highlight several improvements in PHP 8.5. Rather than explaining
flashy new syntax, their overview focuses on practical changes that help developers better understand
performance behavior, diagnose issues more quickly, and run PHP applications more reliably in modern
environments.
Picked by Stefan Priebsch –
"The faster TLS handshake implementation is a good example of how PHP evolves through behind-the-scenes
improvements that benefit developers in everyday use."
npopov.com
Flashback: In this article, written as early as 2012, Nikita Popov demonstrates how PHP generators
(introduced in PHP 5.5) can be used to implement coroutines and build a simple cooperative multitasking
scheduler.
Picked by Stefan Priebsch –
"Following his early contributions to PHP 5, Nikita Popov became one of the language's most influential
contributors and played a key role in making PHP 7 possible."