bootstrap.php 1.1KB

123456789101112131415161718192021222324252627
  1. <?php
  2. /*
  3. * This file is part of the Symfony package.
  4. *
  5. * (c) Fabien Potencier <fabien@symfony.com>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. use Symfony\Polyfill\Ctype as p;
  11. if (!function_exists('ctype_alnum')) {
  12. function ctype_alnum($text) { return p\Ctype::ctype_alnum($text); }
  13. function ctype_alpha($text) { return p\Ctype::ctype_alpha($text); }
  14. function ctype_cntrl($text) { return p\Ctype::ctype_cntrl($text); }
  15. function ctype_digit($text) { return p\Ctype::ctype_digit($text); }
  16. function ctype_graph($text) { return p\Ctype::ctype_graph($text); }
  17. function ctype_lower($text) { return p\Ctype::ctype_lower($text); }
  18. function ctype_print($text) { return p\Ctype::ctype_print($text); }
  19. function ctype_punct($text) { return p\Ctype::ctype_punct($text); }
  20. function ctype_space($text) { return p\Ctype::ctype_space($text); }
  21. function ctype_upper($text) { return p\Ctype::ctype_upper($text); }
  22. function ctype_xdigit($text) { return p\Ctype::ctype_xdigit($text); }
  23. }