[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/symfony/polyfill-ctype/ -> bootstrap.php (source)

   1  <?php
   2  
   3  /*
   4   * This file is part of the Symfony package.
   5   *
   6   * (c) Fabien Potencier <[email protected]>
   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 (\PHP_VERSION_ID >= 80000) {
  15      return require  __DIR__.'/bootstrap80.php';
  16  }
  17  
  18  if (!function_exists('ctype_alnum')) {
  19      function ctype_alnum($text) { return p\Ctype::ctype_alnum($text); }
  20  }
  21  if (!function_exists('ctype_alpha')) {
  22      function ctype_alpha($text) { return p\Ctype::ctype_alpha($text); }
  23  }
  24  if (!function_exists('ctype_cntrl')) {
  25      function ctype_cntrl($text) { return p\Ctype::ctype_cntrl($text); }
  26  }
  27  if (!function_exists('ctype_digit')) {
  28      function ctype_digit($text) { return p\Ctype::ctype_digit($text); }
  29  }
  30  if (!function_exists('ctype_graph')) {
  31      function ctype_graph($text) { return p\Ctype::ctype_graph($text); }
  32  }
  33  if (!function_exists('ctype_lower')) {
  34      function ctype_lower($text) { return p\Ctype::ctype_lower($text); }
  35  }
  36  if (!function_exists('ctype_print')) {
  37      function ctype_print($text) { return p\Ctype::ctype_print($text); }
  38  }
  39  if (!function_exists('ctype_punct')) {
  40      function ctype_punct($text) { return p\Ctype::ctype_punct($text); }
  41  }
  42  if (!function_exists('ctype_space')) {
  43      function ctype_space($text) { return p\Ctype::ctype_space($text); }
  44  }
  45  if (!function_exists('ctype_upper')) {
  46      function ctype_upper($text) { return p\Ctype::ctype_upper($text); }
  47  }
  48  if (!function_exists('ctype_xdigit')) {
  49      function ctype_xdigit($text) { return p\Ctype::ctype_xdigit($text); }
  50  }


Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer