Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/clone/wp-conte.../plugins/wpforms-.../vendor/symfony/polyfill...
File: bootstrap.php
<?php
[0] Fix | Delete
[1] Fix | Delete
/*
[2] Fix | Delete
* This file is part of the Symfony package.
[3] Fix | Delete
*
[4] Fix | Delete
* (c) Fabien Potencier <fabien@symfony.com>
[5] Fix | Delete
*
[6] Fix | Delete
* For the full copyright and license information, please view the LICENSE
[7] Fix | Delete
* file that was distributed with this source code.
[8] Fix | Delete
*/
[9] Fix | Delete
[10] Fix | Delete
use Symfony\Polyfill\Iconv as p;
[11] Fix | Delete
[12] Fix | Delete
if (extension_loaded('iconv')) {
[13] Fix | Delete
return;
[14] Fix | Delete
}
[15] Fix | Delete
[16] Fix | Delete
if (!defined('ICONV_IMPL')) {
[17] Fix | Delete
define('ICONV_IMPL', 'Symfony');
[18] Fix | Delete
}
[19] Fix | Delete
if (!defined('ICONV_VERSION')) {
[20] Fix | Delete
define('ICONV_VERSION', '1.0');
[21] Fix | Delete
}
[22] Fix | Delete
if (!defined('ICONV_MIME_DECODE_STRICT')) {
[23] Fix | Delete
define('ICONV_MIME_DECODE_STRICT', 1);
[24] Fix | Delete
}
[25] Fix | Delete
if (!defined('ICONV_MIME_DECODE_CONTINUE_ON_ERROR')) {
[26] Fix | Delete
define('ICONV_MIME_DECODE_CONTINUE_ON_ERROR', 2);
[27] Fix | Delete
}
[28] Fix | Delete
[29] Fix | Delete
if (!function_exists('iconv')) {
[30] Fix | Delete
function iconv($from_encoding, $to_encoding, $string) { return p\Iconv::iconv($from_encoding, $to_encoding, $string); }
[31] Fix | Delete
}
[32] Fix | Delete
if (!function_exists('iconv_get_encoding')) {
[33] Fix | Delete
function iconv_get_encoding($type = 'all') { return p\Iconv::iconv_get_encoding($type); }
[34] Fix | Delete
}
[35] Fix | Delete
if (!function_exists('iconv_set_encoding')) {
[36] Fix | Delete
function iconv_set_encoding($type, $encoding) { return p\Iconv::iconv_set_encoding($type, $encoding); }
[37] Fix | Delete
}
[38] Fix | Delete
if (!function_exists('iconv_mime_encode')) {
[39] Fix | Delete
function iconv_mime_encode($field_name, $field_value, $options = null) { return p\Iconv::iconv_mime_encode($field_name, $field_value, $options); }
[40] Fix | Delete
}
[41] Fix | Delete
if (!function_exists('iconv_mime_decode_headers')) {
[42] Fix | Delete
function iconv_mime_decode_headers($headers, $mode = 0, $encoding = null) { return p\Iconv::iconv_mime_decode_headers($headers, $mode, $encoding); }
[43] Fix | Delete
}
[44] Fix | Delete
[45] Fix | Delete
if (extension_loaded('mbstring')) {
[46] Fix | Delete
if (!function_exists('iconv_strlen')) {
[47] Fix | Delete
function iconv_strlen($string, $encoding = null) { null === $encoding && $encoding = p\Iconv::$internalEncoding; return mb_strlen($string, $encoding); }
[48] Fix | Delete
}
[49] Fix | Delete
if (!function_exists('iconv_strpos')) {
[50] Fix | Delete
function iconv_strpos($haystack, $needle, $offset = 0, $encoding = null) { null === $encoding && $encoding = p\Iconv::$internalEncoding; return mb_strpos($haystack, $needle, $offset, $encoding); }
[51] Fix | Delete
}
[52] Fix | Delete
if (!function_exists('iconv_strrpos')) {
[53] Fix | Delete
function iconv_strrpos($haystack, $needle, $encoding = null) { null === $encoding && $encoding = p\Iconv::$internalEncoding; return mb_strrpos($haystack, $needle, 0, $encoding); }
[54] Fix | Delete
}
[55] Fix | Delete
if (!function_exists('iconv_substr')) {
[56] Fix | Delete
function iconv_substr($string, $offset, $length = 2147483647, $encoding = null) { null === $encoding && $encoding = p\Iconv::$internalEncoding; return mb_substr($string, $offset, $length, $encoding); }
[57] Fix | Delete
}
[58] Fix | Delete
if (!function_exists('iconv_mime_decode')) {
[59] Fix | Delete
function iconv_mime_decode($string, $mode = 0, $encoding = null) { null === $encoding && $encoding = p\Iconv::$internalEncoding; return mb_decode_mimeheader($string, $mode, $encoding); }
[60] Fix | Delete
}
[61] Fix | Delete
} else {
[62] Fix | Delete
if (!function_exists('iconv_strlen')) {
[63] Fix | Delete
if (extension_loaded('xml')) {
[64] Fix | Delete
function iconv_strlen($string, $encoding = null) { return p\Iconv::strlen1($string, $encoding); }
[65] Fix | Delete
} else {
[66] Fix | Delete
function iconv_strlen($string, $encoding = null) { return p\Iconv::strlen2($string, $encoding); }
[67] Fix | Delete
}
[68] Fix | Delete
}
[69] Fix | Delete
[70] Fix | Delete
if (!function_exists('iconv_strpos')) {
[71] Fix | Delete
function iconv_strpos($haystack, $needle, $offset = 0, $encoding = null) { return p\Iconv::iconv_strpos($haystack, $needle, $offset, $encoding); }
[72] Fix | Delete
}
[73] Fix | Delete
if (!function_exists('iconv_strrpos')) {
[74] Fix | Delete
function iconv_strrpos($haystack, $needle, $encoding = null) { return p\Iconv::iconv_strrpos($haystack, $needle, $encoding); }
[75] Fix | Delete
}
[76] Fix | Delete
if (!function_exists('iconv_substr')) {
[77] Fix | Delete
function iconv_substr($string, $offset, $length = 2147483647, $encoding = null) { return p\Iconv::iconv_substr($string, $offset, $length, $encoding); }
[78] Fix | Delete
}
[79] Fix | Delete
if (!function_exists('iconv_mime_decode')) {
[80] Fix | Delete
function iconv_mime_decode($string, $mode = 0, $encoding = null) { return p\Iconv::iconv_mime_decode($string, $mode, $encoding); }
[81] Fix | Delete
}
[82] Fix | Delete
}
[83] Fix | Delete
[84] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function