php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
gettext_arginfo.h
Go to the documentation of this file.
1/* This is a generated file, edit the .stub.php file instead.
2 * Stub hash: c675dc9492943bbac106c5906b75c31436964423 */
3
4ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_textdomain, 0, 0, IS_STRING, 0)
7
9 ZEND_ARG_TYPE_INFO(0, message, IS_STRING, 0)
11
12#define arginfo__ arginfo_gettext
13
14ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_dgettext, 0, 2, IS_STRING, 0)
15 ZEND_ARG_TYPE_INFO(0, domain, IS_STRING, 0)
16 ZEND_ARG_TYPE_INFO(0, message, IS_STRING, 0)
18
19ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_dcgettext, 0, 3, IS_STRING, 0)
20 ZEND_ARG_TYPE_INFO(0, domain, IS_STRING, 0)
21 ZEND_ARG_TYPE_INFO(0, message, IS_STRING, 0)
22 ZEND_ARG_TYPE_INFO(0, category, IS_LONG, 0)
24
26 ZEND_ARG_TYPE_INFO(0, domain, IS_STRING, 0)
27 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, directory, IS_STRING, 1, "null")
29
30#if defined(HAVE_NGETTEXT)
31ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_ngettext, 0, 3, IS_STRING, 0)
32 ZEND_ARG_TYPE_INFO(0, singular, IS_STRING, 0)
33 ZEND_ARG_TYPE_INFO(0, plural, IS_STRING, 0)
36#endif
37
38#if defined(HAVE_DNGETTEXT)
39ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_dngettext, 0, 4, IS_STRING, 0)
40 ZEND_ARG_TYPE_INFO(0, domain, IS_STRING, 0)
41 ZEND_ARG_TYPE_INFO(0, singular, IS_STRING, 0)
42 ZEND_ARG_TYPE_INFO(0, plural, IS_STRING, 0)
45#endif
46
47#if defined(HAVE_DCNGETTEXT)
48ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_dcngettext, 0, 5, IS_STRING, 0)
49 ZEND_ARG_TYPE_INFO(0, domain, IS_STRING, 0)
50 ZEND_ARG_TYPE_INFO(0, singular, IS_STRING, 0)
51 ZEND_ARG_TYPE_INFO(0, plural, IS_STRING, 0)
53 ZEND_ARG_TYPE_INFO(0, category, IS_LONG, 0)
55#endif
56
57#if defined(HAVE_BIND_TEXTDOMAIN_CODESET)
58ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_bind_textdomain_codeset, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
59 ZEND_ARG_TYPE_INFO(0, domain, IS_STRING, 0)
62#endif
63
69#if defined(HAVE_NGETTEXT)
71#endif
72#if defined(HAVE_DNGETTEXT)
74#endif
75#if defined(HAVE_DCNGETTEXT)
77#endif
78#if defined(HAVE_BIND_TEXTDOMAIN_CODESET)
80#endif
81
82static const zend_function_entry ext_functions[] = {
83 ZEND_FE(textdomain, arginfo_textdomain)
84 ZEND_FE(gettext, arginfo_gettext)
85 ZEND_RAW_FENTRY("_", zif_gettext, arginfo__, 0, NULL, NULL)
86 ZEND_FE(dgettext, arginfo_dgettext)
87 ZEND_FE(dcgettext, arginfo_dcgettext)
88 ZEND_FE(bindtextdomain, arginfo_bindtextdomain)
89#if defined(HAVE_NGETTEXT)
90 ZEND_FE(ngettext, arginfo_ngettext)
91#endif
92#if defined(HAVE_DNGETTEXT)
93 ZEND_FE(dngettext, arginfo_dngettext)
94#endif
95#if defined(HAVE_DCNGETTEXT)
96 ZEND_FE(dcngettext, arginfo_dcngettext)
97#endif
98#if defined(HAVE_BIND_TEXTDOMAIN_CODESET)
99 ZEND_FE(bind_textdomain_codeset, arginfo_bind_textdomain_codeset)
100#endif
102};
count(Countable|array $value, int $mode=COUNT_NORMAL)
#define NULL
Definition gdcache.h:45
gettext(string $message)
textdomain(?string $domain=null)
bind_textdomain_codeset(string $domain, ?string $codeset=null)
dcngettext(string $domain, string $singular, string $plural, int $count, int $category)
bindtextdomain(string $domain, ?string $directory=null)
dcgettext(string $domain, string $message, int $category)
dgettext(string $domain, string $message)
dngettext(string $domain, string $singular, string $plural, int $count)
ngettext(string $singular, string $plural, int $count)
#define arginfo__
const char * codeset
Definition html_tables.h:37
#define ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(name, return_reference, required_num_args, type)
Definition zend_API.h:185
#define ZEND_FE_END
Definition zend_API.h:124
struct _zend_function_entry zend_function_entry
#define ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(name, return_reference, required_num_args, type, allow_null)
Definition zend_API.h:205
#define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags, frameless_function_infos, doc_comment)
Definition zend_API.h:80
#define ZEND_END_ARG_INFO()
Definition zend_API.h:219
#define ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(pass_by_ref, name, type_hint, allow_null, default_value)
Definition zend_API.h:140
#define ZEND_ARG_TYPE_INFO(pass_by_ref, name, type_hint, allow_null)
Definition zend_API.h:138
#define ZEND_FE(name, arg_info)
Definition zend_API.h:86
#define ZEND_FUNCTION(name)
Definition zend_API.h:75
#define MAY_BE_STRING
#define MAY_BE_FALSE
#define IS_STRING
Definition zend_types.h:606
#define IS_LONG
Definition zend_types.h:604