mb_convert_case

Supported Versions: PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8
Perform case folding on a string
<?php mb_convert_case(string $string, int $mode, ?string $encoding = null): string
<?php     public static function convertCase(string $string, int $mode = MB_CASE_FOLD, ?string $encoding = 'UTF-8')

    {

        return mb_convert_case($string, $mode, $encoding);

    }
<?php     public static function title($value)

    {

        return mb_convert_case($value, MB_CASE_TITLE, 'UTF-8');

    }