public static function str_ireplace($search, $replace, $str, $count = null)
    {
        if (!function_exists('utf8_ireplace')) {
            require_once __DIR__ . '/phputf8/str_ireplace.php';
        }

        if ($count === null) {
            return utf8_ireplace($search, $replace, $str);
        }

        return utf8_ireplace($search, $replace, $str, $count);
    }
public static function str_ireplace($search, $replace, $str, $count = null)
    {
        if (!function_exists('utf8_ireplace')) {
            require_once __DIR__ . '/phputf8/str_ireplace.php';
        }

        if ($count === null) {
            return utf8_ireplace($search, $replace, $str);
        }

        return utf8_ireplace($search, $replace, $str, $count);
    }
public static function str_ireplace ( $ search , $ replace , $ str , $ count = null ) { if ( ! function_exists ( 'utf8_ireplace' ) ) { require_once __DIR__ . '/phputf8/str_ireplace.php' ; } if ( $ count === null ) { return utf8_ireplace ( $ search , $ replace , $ str ) ; } return utf8_ireplace ( $ search , $ replace , $ str , $ count ) ; }
UTF-8 aware alternative to str_ireplace
Case-insensitive version of str_replace

@param   string  $search  String to search
@param   string  $replace Existing string to replace
@param   string  $str     New string to replace with
@param   integer $count   Optional count value to be passed by reference

@return  string  UTF-8 String

@see     http://www.php.net/str_ireplace
@since   2.0
UTF - 8 aware alternative to str_ireplace Case - insensitive version of str_replace