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