xref: /PHP-8.0/ext/gettext/gettext.stub.php (revision d319098b)
1<?php
2
3/** @generate-function-entries */
4
5function textdomain(?string $domain): string {}
6
7function gettext(string $message): string {}
8
9/** @alias gettext */
10function _(string $message): string {}
11
12function dgettext(string $domain, string $message): string {}
13
14function dcgettext(string $domain, string $message, int $category): string {}
15
16function bindtextdomain(string $domain, ?string $directory): string|false {}
17
18#ifdef HAVE_NGETTEXT
19function ngettext(string $singular, string $plural, int $count): string {}
20#endif
21
22#ifdef HAVE_DNGETTEXT
23function dngettext(string $domain, string $singular, string $plural, int $count): string {}
24#endif
25
26#ifdef HAVE_DCNGETTEXT
27function dcngettext(string $domain, string $singular, string $plural, int $count, int $category): string {}
28#endif
29
30#ifdef HAVE_BIND_TEXTDOMAIN_CODESET
31function bind_textdomain_codeset(string $domain, ?string $codeset): string|false {}
32#endif
33