kollapsminoriteten/wp-content/plugins/google-site-kit/third-party/symfony/polyfill-php70/bootstrap.php

38 lines
1.1 KiB
PHP
Raw Normal View History

2023-04-26 17:39:43 +02:00
<?php
/* namespace Google\Site_Kit_Dependencies intentionally removed */
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
use Google\Site_Kit_Dependencies\Symfony\Polyfill\Php70 as p;
if (\PHP_VERSION_ID >= 70000) {
return;
}
if (!\defined('PHP_INT_MIN')) {
\define('PHP_INT_MIN', ~\PHP_INT_MAX);
}
if (!\function_exists('intdiv')) {
function intdiv($num1, $num2)
{
return \Google\Site_Kit_Dependencies\Symfony\Polyfill\Php70\Php70::intdiv($num1, $num2);
}
}
if (!\function_exists('preg_replace_callback_array')) {
function preg_replace_callback_array(array $pattern, $subject, $limit = -1, &$count = 0, $flags = null)
{
return \Google\Site_Kit_Dependencies\Symfony\Polyfill\Php70\Php70::preg_replace_callback_array($pattern, $subject, $limit, $count);
}
}
if (!\function_exists('error_clear_last')) {
function error_clear_last()
{
return \Google\Site_Kit_Dependencies\Symfony\Polyfill\Php70\Php70::error_clear_last();
}
}