protected static function strtolower($pString) { if (function_exists("mb_orig_strtolower")) { return mb_orig_strtolower($pString); } else { return strtolower($pString); } }
/** * * Binary version of strtolower * @param $str * @return string */ public static function getBinaryStrtolower($str) { if (defined("BX_UTF")) { if (function_exists("mb_orig_strtolower")) { return mb_orig_strtolower($str); } return mb_strtolower($str, "latin1"); } return strtolower($str); }