
PHP 8.5 adds support for final properties using constructor promotion. In this (very short) article, I’ll show you everything you need to know about this new addition.
PHP 8.5 adds support for final properties using constructor promotion. In this (very short) article, I’ll show you everything you need to know about this new addition.
PHP 8.5 adds a new function for calculating the Levenshtein distance between strings — now with proper UTF-8 support.
PHP 8.5 introduces support for attributes on non-class constants. This article walks you through everything you need to know about this new feature!
Today, we'll explore one of the exciting features coming with PHP 8.5—the new #[NoDiscard] attribute to indicate important return values.
If you’ve ever worked with both PHPStan and the official AWS SDK for PHP, you know they don’t get along particularly well. In this article, I’ll show you a package I created that addresses this exact issue.
Transpiling lets you write your package or application using the latest PHP features—even if your runtime is older. This is especially useful for libraries (where you can’t just bump the PHP version without inconveniencing your users) and can be a lifesaver when upgrading legacy apps.
Lazy objects are a fantastic addition to the already impressive PHP 8.4 release. In this article, we'll explore how to use them.
Feature flags (also known as feature toggles) let you enable or disable specific features or code paths at runtime without deploying new code. In this article, we'll explore Unleash, my favourite open-source tool for managing feature flags efficiently.
SQLite has limited capabilities for modifying tables—often, you must drop the original table and recreate it, which can break your foreign keys. PHP 8.4 provides a cool solution for that.