Home
last modified time | relevance | path

Searched refs:bindtextdomain (Results 1 – 17 of 17) sorted by relevance

/PHP-8.2/ext/gettext/tests/
H A Dbug53251.phpt2 Bug #53251 (bindtextdomain with null dir doesn't return old value)
11 var_dump(is_string(bindtextdomain('foo', null)));
12 $dir = bindtextdomain('foo', '.');
13 var_dump(bindtextdomain('foo', null) === $dir);
H A Dgettext_bindtextdomain-emptydomain.phpt2 Test if bindtextdomain() errors if the domain is empty.
11 bindtextdomain('', 'foobar');
18 bindtextdomain(): Argument #1 ($domain) cannot be empty
H A Dgettext_bindtextdomain-cwd.phpt2 Test if bindtextdomain() returns string id if no directory path is set(if directory path is 'null')
21 bindtextdomain('messages',null);
23 bindtextdomain('messages', './locale');
H A Dgettext_bindtextdomain-path.phpt2 Test if bindtextdomain() returns false if path does not exist.
8 var_dump(bindtextdomain('example.org', 'foobar'));
H A Dgettext_dgettext.phpt18 bindtextdomain('dgettextTest', './locale');
19 bindtextdomain('dgettextTest_switch', './locale');
H A Dgettext_basic.phpt18 bindtextdomain ("messages", "./locale");
H A Dgettext_ngettext.phpt17 bindtextdomain('dngettextTest', './locale');
H A Dgettext_textdomain-retval.phpt17 bindtextdomain ("messages", "./locale");
H A Dgettext_dcgettext.phpt18 bindtextdomain('dngettextTest', './locale');
H A Dgettext_dngettext-plural.phpt16 bindtextdomain('dngettextTest', './locale');
H A Dgettext_basic-enus.phpt18 bindtextdomain ("messages", "./locale");
H A D44938.phpt13 bindtextdomain($overflown, 'path');
104 bindtextdomain(): Argument #1 ($domain) is too long
H A Dbug66267.phpt34 bindtextdomain($domain, $path);
/PHP-8.2/ext/gettext/
H A Dconfig.m420 AC_CHECK_LIB(intl, bindtextdomain, [
24 AC_CHECK_LIB(c, bindtextdomain, [
H A Dgettext_arginfo.h69 ZEND_FUNCTION(bindtextdomain);
90 ZEND_FE(bindtextdomain, arginfo_bindtextdomain)
H A Dgettext.c165 PHP_FUNCTION(bindtextdomain) in PHP_FUNCTION() argument
184 RETURN_STRING(bindtextdomain(domain, NULL)); in PHP_FUNCTION()
195 retval = bindtextdomain(domain, dir_name); in PHP_FUNCTION()
H A Dgettext.stub.php21 function bindtextdomain(string $domain, ?string $directory): string|false {} function

Completed in 33 milliseconds