blob: ab2f8611dacaaa93e8431c7fe9b246c376a9dcab [file] [log] [blame]
Matthias Andreas Benkard12a57352021-12-28 18:02:04 +01001<?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 (!function_exists('ctype_alnum')) {
15 function ctype_alnum(mixed $text): bool { return p\Ctype::ctype_alnum($text); }
16}
17if (!function_exists('ctype_alpha')) {
18 function ctype_alpha(mixed $text): bool { return p\Ctype::ctype_alpha($text); }
19}
20if (!function_exists('ctype_cntrl')) {
21 function ctype_cntrl(mixed $text): bool { return p\Ctype::ctype_cntrl($text); }
22}
23if (!function_exists('ctype_digit')) {
24 function ctype_digit(mixed $text): bool { return p\Ctype::ctype_digit($text); }
25}
26if (!function_exists('ctype_graph')) {
27 function ctype_graph(mixed $text): bool { return p\Ctype::ctype_graph($text); }
28}
29if (!function_exists('ctype_lower')) {
30 function ctype_lower(mixed $text): bool { return p\Ctype::ctype_lower($text); }
31}
32if (!function_exists('ctype_print')) {
33 function ctype_print(mixed $text): bool { return p\Ctype::ctype_print($text); }
34}
35if (!function_exists('ctype_punct')) {
36 function ctype_punct(mixed $text): bool { return p\Ctype::ctype_punct($text); }
37}
38if (!function_exists('ctype_space')) {
39 function ctype_space(mixed $text): bool { return p\Ctype::ctype_space($text); }
40}
41if (!function_exists('ctype_upper')) {
42 function ctype_upper(mixed $text): bool { return p\Ctype::ctype_upper($text); }
43}
44if (!function_exists('ctype_xdigit')) {
45 function ctype_xdigit(mixed $text): bool { return p\Ctype::ctype_xdigit($text); }
46}