示例#1
0
 protected static function strtolower($pString)
 {
     if (function_exists("mb_orig_strtolower")) {
         return mb_orig_strtolower($pString);
     } else {
         return strtolower($pString);
     }
 }
示例#2
0
 /**
  *
  * 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);
 }