Portable UTF-8 v5.4.48 Release Notes

Release Date: 2020-11-07 // over 3 years ago
    • ๐Ÿ›  fix "UTF8::chr()" handling of non "int" code points
    • fix "UTF8::html_encode()" (parameter mismatch for "mb_encode_numericentity()")
    • fix "UTF8::str_ireplace()" (TypeError of "preg_replace()")
    • ๐Ÿ›  fix "UTF8::strtonatfold()" (TypeError of "preg_replace()")
    • ๐Ÿ›  fix "UTF8::substr_count()" return type if "$haystack" is an empty string
    • compatibility with PHP 8.0 behaviour for:
      • UTF::strstr()
      • UTF::stristr()
      • UTF::strpos()
      • UTF::stripos()
      • UTF::strrpos()
      • UTF::strripos()
    • ๐Ÿ‘‰ use native functions from PHP 8.0
      • \str_contains()
      • \str_starts_with()
      • \str_ends_with()