(No version information available, might only be in Git)
IntlListFormatter::format ā Formata uma lista de itens
Formata uma lista de itens como uma string apropriada para a localidade.
list
A lista formatada como uma string ou false em caso de falha.
Exemplo #1 Exemplo de IntlListFormatter::format()
<?php
$fmt = new IntlListFormatter('en_US', IntlListFormatter::TYPE_AND, IntlListFormatter::WIDTH_WIDE);
echo $fmt->format(['one', 'two', 'three']);
// one, two, and three
$fmt = new IntlListFormatter('en_US', IntlListFormatter::TYPE_OR, IntlListFormatter::WIDTH_WIDE);
echo $fmt->format(['one', 'two', 'three']);
// one, two, or three
?>