PHP 8.0.0 Released!

Transliterator::listIDs

transliterator_list_ids

(PHP 5 >= 5.4.0, PHP 7, PECL intl >= 2.0.0)

Transliterator::listIDs -- transliterator_list_idsGet transliterator IDs

Descrição

Estilo orientado à objeto

public static Transliterator::listIDs ( ) : array|false

Estilo procedural

transliterator_list_ids ( ) : array|false

Returns an array with the registered transliterator IDs.

Parâmetros

Esta função não possui parâmetros.

Valor Retornado

An array of registered transliterator IDs on success, ou FALSE em caso de falha.

Exemplos

Exemplo #1 Retrieving the registered transliterator IDs

<?php
print_r
(Transliterator::listIDs());
?>

O exemplo acima irá imprimir algo similar à:

Array
(
    [0] => ASCII-Latin
    [1] => Accents-Any
    [2] => Amharic-Latin/BGN
    [3] => Any-Accents
    [4] => Any-Publishing
...
    [650] => Any-ps_Latn/BGN
    [651] => Any-tk/BGN
    [652] => Any-ch_FONIPA
    [653] => Any-cs_FONIPA
    [654] => Any-cy_FONIPA
)

Veja Também

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top