public static function strlen($str) {
    if (is_array($str))
      return false;

    if (function_exists('mb_strlen'))
      return mb_strlen($str, 'UTF-8');

    return strlen($str);
  }
public static function strlen($str) {
    if (is_array($str))
      return false;

    if (function_exists('mb_strlen'))
      return mb_strlen($str, 'UTF-8');

    return strlen($str);
  }
public static function strlen ( $ str ) { if ( is_array ( $ str ) ) return false ; if ( function_exists ( 'mb_strlen' ) ) return mb_strlen ( $ str , 'UTF-8' ) ; return strlen ( $ str ) ; }
strlen overloaded function

@param string $str
@return int size of the string
strlen overloaded function