
3 min read
ProgrammingPHP 8.5 adds a new function for calculating the Levenshtein distance between strings — now with proper UTF-8 support.
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.