PluginProbe
WCPOS – Point of Sale (POS) plugin for WooCommerce / 1.10.13
WCPOS – Point of Sale (POS) plugin for WooCommerce v1.10.13
1.10.19 1.10.18 1.10.17 1.10.16 1.10.15 1.10.13 1.10.14 1.10.12 1.10.11 1.10.10 1.10.9 1.10.8 untagged-3d9b7ccddc54df87c672 1.10.7 1.10.6 1.10.5 1.10.3 1.10.4 1.10.2 1.10.1 1.10.0 1.9.17 1.9.15 1.9.16 1.9.14 All 163 releases
woocommerce-pos / vendor / symfony / polyfill-php81 / bootstrap.php

bootstrap.php in WCPOS – Point of Sale (POS) plugin for WooCommerce 1.10.13, at vendor/symfony/polyfill-php81/bootstrap.php

33 lines 907 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /*
4 * This file is part of the Symfony package.
5 *
6 * (c) Fabien Potencier <fabien@symfony.com>
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
11
12 use Symfony\Polyfill\Php81 as p;
13
14 if (\PHP_VERSION_ID >= 80100) {
15 return;
16 }
17
18 if (defined('MYSQLI_REFRESH_SLAVE') && !defined('MYSQLI_REFRESH_REPLICA')) {
19 define('MYSQLI_REFRESH_REPLICA', 64);
20 }
21
22 if (\extension_loaded('curl') && !defined('CURLOPT_ISSUERCERT_BLOB') && curl_version()['version_number'] >= 0x074700) {
23 define('CURLOPT_ISSUERCERT_BLOB', 40295);
24 }
25
26 if (!function_exists('array_is_list')) {
27 function array_is_list(array $array): bool { return p\Php81::array_is_list($array); }
28 }
29
30 if (!function_exists('enum_exists')) {
31 function enum_exists(string $enum, bool $autoload = true): bool { return $autoload && class_exists($enum) && false; }
32 }
33