| 1 |
<?php |
| 2 |
|
| 3 |
namespace ElementorDeps; |
| 4 |
|
| 5 |
/* |
| 6 |
* This file is part of the Symfony package. |
| 7 |
* |
| 8 |
* (c) Fabien Potencier <fabien@symfony.com> |
| 9 |
* |
| 10 |
* For the full copyright and license information, please view the LICENSE |
| 11 |
* file that was distributed with this source code. |
| 12 |
*/ |
| 13 |
use ElementorDeps\Symfony\Polyfill\Php81 as p; |
| 14 |
if (\PHP_VERSION_ID >= 80100) { |
| 15 |
return; |
| 16 |
} |
| 17 |
if (\defined('MYSQLI_REFRESH_SLAVE') && !\defined('MYSQLI_REFRESH_REPLICA')) { |
| 18 |
\define('MYSQLI_REFRESH_REPLICA', 64); |
| 19 |
} |
| 20 |
if (!\function_exists('array_is_list')) { |
| 21 |
function array_is_list(array $array) : bool |
| 22 |
{ |
| 23 |
return p\Php81::array_is_list($array); |
| 24 |
} |
| 25 |
} |
| 26 |
if (!\function_exists('enum_exists')) { |
| 27 |
function enum_exists(string $enum, bool $autoload = \true) : bool |
| 28 |
{ |
| 29 |
return $autoload && \class_exists($enum) && \false; |
| 30 |
} |
| 31 |
} |
| 32 |
|