Edit File by line
/home/barbar84/www/wp-conte.../plugins/updraftp.../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\Php72 as p;
[11] Fix | Delete
[12] Fix | Delete
if (PHP_VERSION_ID >= 70200) {
[13] Fix | Delete
return;
[14] Fix | Delete
}
[15] Fix | Delete
[16] Fix | Delete
if (!defined('PHP_FLOAT_DIG')) {
[17] Fix | Delete
define('PHP_FLOAT_DIG', 15);
[18] Fix | Delete
}
[19] Fix | Delete
if (!defined('PHP_FLOAT_EPSILON')) {
[20] Fix | Delete
define('PHP_FLOAT_EPSILON', 2.2204460492503E-16);
[21] Fix | Delete
}
[22] Fix | Delete
if (!defined('PHP_FLOAT_MIN')) {
[23] Fix | Delete
define('PHP_FLOAT_MIN', 2.2250738585072E-308);
[24] Fix | Delete
}
[25] Fix | Delete
if (!defined('PHP_FLOAT_MAX')) {
[26] Fix | Delete
define('PHP_FLOAT_MAX', 1.7976931348623157E+308);
[27] Fix | Delete
}
[28] Fix | Delete
if (!defined('PHP_OS_FAMILY')) {
[29] Fix | Delete
define('PHP_OS_FAMILY', p\Php72::php_os_family());
[30] Fix | Delete
}
[31] Fix | Delete
[32] Fix | Delete
if ('\\' === DIRECTORY_SEPARATOR && !function_exists('sapi_windows_vt100_support')) {
[33] Fix | Delete
function sapi_windows_vt100_support($stream, $enable = null) { return p\Php72::sapi_windows_vt100_support($stream, $enable); }
[34] Fix | Delete
}
[35] Fix | Delete
if (!function_exists('stream_isatty')) {
[36] Fix | Delete
function stream_isatty($stream) { return p\Php72::stream_isatty($stream); }
[37] Fix | Delete
}
[38] Fix | Delete
if (!function_exists('utf8_encode')) {
[39] Fix | Delete
function utf8_encode($string) { return p\Php72::utf8_encode($string); }
[40] Fix | Delete
}
[41] Fix | Delete
if (!function_exists('utf8_decode')) {
[42] Fix | Delete
function utf8_decode($string) { return p\Php72::utf8_decode($string); }
[43] Fix | Delete
}
[44] Fix | Delete
if (!function_exists('spl_object_id')) {
[45] Fix | Delete
function spl_object_id($object) { return p\Php72::spl_object_id($object); }
[46] Fix | Delete
}
[47] Fix | Delete
if (!function_exists('mb_ord')) {
[48] Fix | Delete
function mb_ord($string, $encoding = null) { return p\Php72::mb_ord($string, $encoding); }
[49] Fix | Delete
}
[50] Fix | Delete
if (!function_exists('mb_chr')) {
[51] Fix | Delete
function mb_chr($codepoint, $encoding = null) { return p\Php72::mb_chr($codepoint, $encoding); }
[52] Fix | Delete
}
[53] Fix | Delete
if (!function_exists('mb_scrub')) {
[54] Fix | Delete
function mb_scrub($string, $encoding = null) { $encoding = null === $encoding ? mb_internal_encoding() : $encoding; return mb_convert_encoding($string, $encoding, $encoding); }
[55] Fix | Delete
}
[56] Fix | Delete
[57] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function