Attribute usage in top-1000 PHP packages
Attribute usage in top-1000 PHP packages Written on 2022-05-20 Attributes were originally introduced in PHP 8.0 two years ago. Yesterday, I came acros
Attribute usage in top-1000 PHP packages Written on 2022-05-20 Attributes were originally introduced in PHP 8.0 two years ago. Yesterday, I came acros
A response to criticisms of PHP 8's breaking changes, arguing they are necessary for progress and offering advice for a smooth upgrade.
Overview of new features and breaking changes in PHP 8, including JIT, union types, attributes, and the nullsafe operator.
A guide to setting up and configuring the JIT compiler in PHP 8, including enabling opcache and understanding the complex configuration options.
The author announces 'Front Line PHP', a new book teaching modern PHP, best practices, and the professional web developer mindset, launching alongside PHP 8.
A developer shares practical examples of how PHP 8's new features, like attributes and static return types, will improve their event-sourced code.
A developer argues for adopting named arguments in PHP 8, addressing concerns from open-source maintainers about breaking changes.
Explains PHP 8's constructor property promotion feature, a syntax shortcut for defining and initializing class properties in the constructor.
A look at modern PHP's evolution, debunking common misconceptions and highlighting its improved type system and development practices in 2020.