Debian Codegraph @

vendor/symfony/polyfill-php84/bootstrap82.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\Php84 as p;
13
14 if (\PHP_VERSION_ID >= 80400) {
15 return;
16 }
17
18 if (extension_loaded('intl') && !function_exists('grapheme_str_split')) {
19 function grapheme_str_split(string $string, int $length = 1): array|false { return p\Php84::grapheme_str_split($string, $length); }
20 }