bootstrap.php 725 B

1234567891011121314151617181920212223
  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\Intl\Normalizer as p;
  11. if (\PHP_VERSION_ID >= 80000) {
  12. return require __DIR__.'/bootstrap80.php';
  13. }
  14. if (!function_exists('normalizer_is_normalized')) {
  15. function normalizer_is_normalized($string, $form = p\Normalizer::FORM_C) { return p\Normalizer::isNormalized($string, $form); }
  16. }
  17. if (!function_exists('normalizer_normalize')) {
  18. function normalizer_normalize($string, $form = p\Normalizer::FORM_C) { return p\Normalizer::normalize($string, $form); }
  19. }