コード例 #1
0
ファイル: vuln_scanner.php プロジェクト: rasuldev/torino
 protected static function strtolower($pString)
 {
     if (function_exists("mb_orig_strtolower")) {
         return mb_orig_strtolower($pString);
     } else {
         return strtolower($pString);
     }
 }
コード例 #2
0
ファイル: string.php プロジェクト: DarneoStudio/bitrix
 /**
  *
  * 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);
 }