Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.217.117
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
v3.cesa.co.za /
vendor /
symfony /
intl /
Delete
Unzip
Name
Size
Permission
Date
Action
Data
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
Exception
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
Resources
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
Transliterator
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
Util
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
.htaccess
237
B
-r-xr-xr-x
2026-08-17 03:12
CHANGELOG.md
1.69
KB
-rwxrwxr-x
2026-03-24 11:36
Countries.php
5.03
KB
-rwxrwxr-x
2026-03-24 11:36
Currencies.php
4.55
KB
-rwxrwxr-x
2026-03-24 11:36
Intl.php
3.1
KB
-rwxrwxr-x
2026-03-24 11:36
LICENSE
1.04
KB
-rwxrwxr-x
2026-03-24 11:36
Languages.php
5.49
KB
-rwxrwxr-x
2026-03-24 11:36
Locale.php
3.13
KB
-rwxrwxr-x
2026-03-24 11:36
Locales.php
1.95
KB
-rwxrwxr-x
2026-03-24 11:36
README.md
484
B
-rwxrwxr-x
2026-03-24 11:36
ResourceBundle.php
2.62
KB
-rwxrwxr-x
2026-03-24 11:36
Scripts.php
1.5
KB
-rwxrwxr-x
2026-03-24 11:36
Timezones.php
3.48
KB
-rwxrwxr-x
2026-03-24 11:36
composer.json
1.14
KB
-rwxrwxr-x
2026-03-24 11:36
Save
Rename
<?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. */ namespace Symfony\Component\Intl; if (!class_exists(\Locale::class)) { throw new \LogicException(\sprintf('You cannot use the "%s\Locale" class as the "intl" extension is not installed. See https://php.net/intl.', __NAMESPACE__)); } /** * Provides access to locale-related data. * * @author Bernhard Schussek <bschussek@gmail.com> * * @internal */ final class Locale extends \Locale { private static ?string $defaultFallback = 'en'; /** * Sets the default fallback locale. * * The default fallback locale is used as fallback for locales that have no * fallback otherwise. * * @see getFallback() */ public static function setDefaultFallback(?string $locale): void { self::$defaultFallback = $locale; } /** * Returns the default fallback locale. * * @see setDefaultFallback() * @see getFallback() */ public static function getDefaultFallback(): ?string { return self::$defaultFallback; } /** * Returns the fallback locale for a given locale. * * For example, the fallback of "fr_FR" is "fr". The fallback of "fr" is * the default fallback locale configured with {@link setDefaultFallback()}. * The default fallback locale has no fallback. * * @return string|null The ICU locale code of the fallback locale, or null * if no fallback exists */ public static function getFallback(string $locale): ?string { if (\function_exists('locale_parse')) { $localeSubTags = locale_parse($locale) ?? ['language' => $locale]; if (1 === \count($localeSubTags)) { if ('root' !== self::$defaultFallback && self::$defaultFallback === $localeSubTags['language']) { return 'root'; } // Don't return default fallback for "root", "meta" or others // Normal locales have two or three letters if (\strlen($locale) < 4) { return self::$defaultFallback; } return null; } array_pop($localeSubTags); $fallback = locale_compose($localeSubTags); return false !== $fallback ? $fallback : null; } if (false !== $pos = strrpos($locale, '_')) { return substr($locale, 0, $pos); } if (false !== $pos = strrpos($locale, '-')) { return substr($locale, 0, $pos); } if ('root' !== self::$defaultFallback && self::$defaultFallback === $locale) { return 'root'; } // Don't return default fallback for "root", "meta" or others // Normal locales have two or three letters return \strlen($locale) < 4 ? self::$defaultFallback : null; } /** * This class must not be instantiated. */ private function __construct() { } }