<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ use Symfony\Polyfill\Intl\Icu as p; if (extension_loaded('intl')) { return; } if (\PHP_VERSION_ID >= 80000) { return require __DIR__.'/bootstrap80.php'; } if (!function_exists('intl_is_failure')) { function intl_is_failure($errorCode) { return p\Icu::isFailure($errorCode); } } if (!function_exists('intl_get_error_code')) { function intl_get_error_code() { return p\Icu::getErrorCode(); } } if (!function_exists('intl_get_error_message')) { function intl_get_error_message() { return p\Icu::getErrorMessage(); } } if (!function_exists('intl_error_name')) { function intl_error_name($errorCode) { return p\Icu::getErrorName($errorCode); } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
DateFormat | Folder | 0755 |
|
|
Exception | Folder | 0755 |
|
|
Resources | Folder | 0755 |
|
|
Collator.php | File | 7.26 KB | 0644 |
|
Currencies.php | File | 1.14 KB | 0644 |
|
Icu.php | File | 2.96 KB | 0644 |
|
IntlDateFormatter.php | File | 19.68 KB | 0644 |
|
LICENSE | File | 1.04 KB | 0644 |
|
Locale.php | File | 8.72 KB | 0644 |
|
NumberFormatter.php | File | 28.32 KB | 0644 |
|
README.md | File | 852 B | 0644 |
|
bootstrap.php | File | 906 B | 0644 |
|
bootstrap80.php | File | 826 B | 0644 |
|
composer.json | File | 1.14 KB | 0644 |
|