bootstrap.php 667 B

12345678910111213141516171819
  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\Component\Intl\Globals\IntlGlobals;
  11. if (!function_exists('intl_is_failure')) {
  12. function intl_is_failure($errorCode) { return IntlGlobals::isFailure($errorCode); }
  13. function intl_get_error_code() { return IntlGlobals::getErrorCode(); }
  14. function intl_get_error_message() { return IntlGlobals::getErrorMessage(); }
  15. function intl_error_name($errorCode) { return IntlGlobals::getErrorName($errorCode); }
  16. }