A switch to display either one or the other string dependend on a counter
static public plural ( integer $count, string $many, string $one, string $zero = '' ) : string | ||
$count | integer | The counter |
$many | string | The string to be displayed for a counter > 1 |
$one | string | The string to be displayed for a counter == 1 |
$zero | string | The string to be displayed for a counter == 0 |
Résultat | string | The string |