Debian Codegraph @

vendor/symfony/polyfill-php82/bootstrap.php

raw
1 <?php
2
3 /*
4 * This file is part of the Symfony package.
5 *
6 * (c) Fabien Potencier <[email protected]>
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\Php82 as p;
13
14 if (\PHP_VERSION_ID >= 80200) {
15 return;
16 }
17
18 if (extension_loaded('odbc')) {
19 if (!function_exists('odbc_connection_string_is_quoted')) {
20 function odbc_connection_string_is_quoted(string $str): bool { return p\Php82::odbc_connection_string_is_quoted($str); }
21 }
22
23 if (!function_exists('odbc_connection_string_should_quote')) {
24 function odbc_connection_string_should_quote(string $str): bool { return p\Php82::odbc_connection_string_should_quote($str); }
25 }
26
27 if (!function_exists('odbc_connection_string_quote')) {
28 function odbc_connection_string_quote(string $str): string { return p\Php82::odbc_connection_string_quote($str); }
29 }
30 }
31
32 if (!function_exists('ini_parse_quantity')) {
33 function ini_parse_quantity(string $shorthand): int { return p\Php82::ini_parse_quantity($shorthand); }
34 }