/** * UTF8 version of PHP::strtolower() * * Convert a string to lower case, using the rules from the current locale * * @param string $string * * @return string */ public static function strtolower($string) { if (self::$locale->language()->code() === 'tr' || self::$locale->language()->code() === 'az') { return TurkishUtf8::strtolower($string); } else { return mb_strtolower($string); } }