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 (!function_exists('ctype_alnum')) {
15    function ctype_alnum($text) { return p\Ctype::ctype_alnum($text); }
16    function ctype_alpha($text) { return p\Ctype::ctype_alpha($text); }
17    function ctype_cntrl($text) { return p\Ctype::ctype_cntrl($text); }
18    function ctype_digit($text) { return p\Ctype::ctype_digit($text); }
19    function ctype_graph($text) { return p\Ctype::ctype_graph($text); }
20    function ctype_lower($text) { return p\Ctype::ctype_lower($text); }
21    function ctype_print($text) { return p\Ctype::ctype_print($text); }
22    function ctype_punct($text) { return p\Ctype::ctype_punct($text); }
23    function ctype_space($text) { return p\Ctype::ctype_space($text); }
24    function ctype_upper($text) { return p\Ctype::ctype_upper($text); }
25    function ctype_xdigit($text) { return p\Ctype::ctype_xdigit($text); }
26}
27