Some interesting reads about PHP.
1. When Generators Actually Makes Sense — when to use
yield.2. Proper logging in PHP with PSR-3 — how to properly use PSR-3 loggers without losing context.
3. Exploring Coroutines in PHP — again,
yield but also fibers.4. New in PHP Intl 8.5: IntlListFormatter – display arrays as locale-aware lists — cool formatting trick with intl.
5. Stateless services in PHP — good practice to keep in mind considering many alternative worker-based runtimes popping up for PHP last years.
6. PHP Ecosystem Deep Dive: The Code Quality Landscape — interesting findings about PHP ecosystem.
7. PHP tips and tricks — quick one-liners, unexpected behaviors, hidden features and strange things that are concealed in the dark corners of PHP.
#digest #php