Home
last modified time | relevance | path

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

/php-src/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) must not 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.phpt19 bindtextdomain('dgettextTest', './locale');
20 bindtextdomain('dgettextTest_switch', './locale');
H A Dgettext_basic.phpt18 bindtextdomain ("messages", "./locale");
H A Dgettext_ngettext.phpt17 bindtextdomain('dngettextTest', './locale');
H A Dgettext_dcgettext.phpt19 bindtextdomain('dngettextTest', './locale');
H A Dgettext_dngettext-plural.phpt17 bindtextdomain('dngettextTest', './locale');
H A Dgettext_basic-enus.phpt18 bindtextdomain ("messages", "./locale");
H A Dgettext_textdomain-retval.phpt17 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-src/ext/gettext/
H A Dconfig.m419 AC_CHECK_LIB([intl], [bindtextdomain], [
23 [AC_CHECK_LIB([c], [bindtextdomain], [
H A Dgettext_arginfo.h68 ZEND_FUNCTION(bindtextdomain);
88 ZEND_FE(bindtextdomain, arginfo_bindtextdomain)
H A Dgettext.c180 PHP_FUNCTION(bindtextdomain) in PHP_FUNCTION() argument
194 RETURN_STRING(bindtextdomain(ZSTR_VAL(domain), NULL)); in PHP_FUNCTION()
205 retval = bindtextdomain(ZSTR_VAL(domain), dir_name); in PHP_FUNCTION()
H A Dgettext.stub.php21 function bindtextdomain(string $domain, ?string $directory = null): string|false {} function

Completed in 10 milliseconds