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
12use Symfony\Polyfill\Ctype as p;
13
14if (\PHP_VERSION_ID >= 80000) {
15    return require __DIR__.'/bootstrap80.php';
16}
17
18if (!function_exists('ctype_alnum')) {
19    function ctype_alnum($text) { return p\Ctype::ctype_alnum($text); }
20}
21if (!function_exists('ctype_alpha')) {
22    function ctype_alpha($text) { return p\Ctype::ctype_alpha($text); }
23}
24if (!function_exists('ctype_cntrl')) {
25    function ctype_cntrl($text) { return p\Ctype::ctype_cntrl($text); }
26}
27if (!function_exists('ctype_digit')) {
28    function ctype_digit($text) { return p\Ctype::ctype_digit($text); }
29}
30if (!function_exists('ctype_graph')) {
31    function ctype_graph($text) { return p\Ctype::ctype_graph($text); }
32}
33if (!function_exists('ctype_lower')) {
34    function ctype_lower($text) { return p\Ctype::ctype_lower($text); }
35}
36if (!function_exists('ctype_print')) {
37    function ctype_print($text) { return p\Ctype::ctype_print($text); }
38}
39if (!function_exists('ctype_punct')) {
40    function ctype_punct($text) { return p\Ctype::ctype_punct($text); }
41}
42if (!function_exists('ctype_space')) {
43    function ctype_space($text) { return p\Ctype::ctype_space($text); }
44}
45if (!function_exists('ctype_upper')) {
46    function ctype_upper($text) { return p\Ctype::ctype_upper($text); }
47}
48if (!function_exists('ctype_xdigit')) {
49    function ctype_xdigit($text) { return p\Ctype::ctype_xdigit($text); }
50}
51