PHP 8.5 RFC confirmed – pipe operator, readonly inheritance, array_first/last
The PHP 8.5 RFC vote on the pipe operator passed. After years of debate it is officially coming in November 2025. Readonly property inheritance also passed – child classes can now override parent readonly properties in specific cases. array_first() and array_last() join the array function family. I show what the final syntax looks like and how it changes real code.
- Published in PHP
Hyvä vs Luma benchmark – real numbers, LCP 3.5x faster, k6 load test, conversion
Hyvä is faster than Luma – everyone says so. But by how much, on what metrics, and does it translate to business results? I ran controlled benchmarks on identical hardware with the same Magento 2.4.8 installation and both themes, measuring LCP, TTFB, Lighthouse scores, and load test results with k6. The numbers are concrete.
- Published in Magento / Adobe Commerce
Kubernetes for the PHP developer – kubectl debugging, Deployment YAML, HPA, troubleshooting
Most PHP applications eventually run on Kubernetes – but developers rarely touch it until something breaks in production. Understanding the basics of Deployments, Services, ConfigMaps, and HPA makes debugging much faster. I show the minimum Kubernetes knowledge a PHP/Magento developer needs: reading logs, exec into pods, understanding why a pod is crashing, and writing a sensible Deployment YAML.
- Published in Środowiska
Specification pattern – encapsulating business rules, AND/OR/NOT composition, testing
Specification is a pattern that encapsulates a business rule as a composable object. Instead of scattering if-else checks throughout the codebase, you name the rule, make it testable, and combine it with AND, OR, NOT. I show a PHP implementation with composition operators and apply it to product eligibility rules in Magento 2.
- Published in Wzorce projektowe
