public static function allNames()
    {
        static $list;

        if ($list === null) {
            $list = [];
            $data = \ResourceBundle::create(\Locale::getDefault(), 'ICUDATA-curr')->get('Currencies');
            foreach ($data as $code => $values) {
                $list[$code] = $values[1];
            }
        }

        return $list;
    }
public static function allNames()
    {
        static $list;

        if ($list === null) {
            $list = [];
            $data = \ResourceBundle::create(\Locale::getDefault(), 'ICUDATA-curr')->get('Currencies');
            foreach ($data as $code => $values) {
                $list[$code] = $values[1];
            }
        }

        return $list;
    }
public static function allNames ( ) { static $ list ; if ( $ list === null ) { $ list = [ ] ; $ data = \ ResourceBundle :: create ( \ Locale :: getDefault ( ) , 'ICUDATA-curr' ) -> get ( 'Currencies' ) ; foreach ( $ data as $ code => $ values ) { $ list [ $ code ] = $ values [ 1 ] ; } } return $ list ; }
Returns all supported currency names include old and not used
@return array
Returns all supported currency names include old and not used