欧美AV无码一区二区,麻豆+无码+国产在线+观看,欧美狂躁少妇XXXX高潮无码,美女扒开屁股让男人桶免费观看,极品粉嫩国产18尤物在线播放

ngettext

(PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8)

ngettextPlural version of gettext

說(shuō)明

ngettext(string $singular, string $plural, int $count): string

The plural version of gettext(). Some languages have more than one form for plural messages dependent on the count.

參數

singular

The singular message ID.

plural

The plural message ID.

count

The number (e.g. item count) to determine the translation for the respective grammatical number.

返回值

Returns correct plural form of message identified by singular and plural for count count.

范例

示例 #1 ngettext() example

<?php

setlocale
(LC_ALL'cs_CZ');
printf(ngettext("%d window""%d windows"1), 1); // 1 okno
printf(ngettext("%d window""%d windows"2), 2); // 2 okna
printf(ngettext("%d window""%d windows"5), 5); // 5 oken

?>

欧美AV无码一区二区,麻豆+无码+国产在线+观看,欧美狂躁少妇XXXX高潮无码,美女扒开屁股让男人桶免费观看,极品粉嫩国产18尤物在线播放