/php-src/ext/gettext/ |
H A D | gettext.c | 85 zend_string *domain = NULL; in PHP_FUNCTION() local 89 Z_PARAM_STR_OR_NULL(domain) in PHP_FUNCTION() 92 if (domain != NULL) { in PHP_FUNCTION() 132 zend_string *domain, *msgid; in PHP_FUNCTION() local 135 Z_PARAM_STR(domain) in PHP_FUNCTION() 156 zend_string *domain, *msgid; in PHP_FUNCTION() local 160 Z_PARAM_STR(domain) in PHP_FUNCTION() 186 Z_PARAM_STR(domain) in PHP_FUNCTION() 245 Z_PARAM_STR(domain) in PHP_FUNCTION() 274 Z_PARAM_STR(domain) in PHP_FUNCTION() [all …]
|
H A D | gettext.stub.php | 6 function textdomain(?string $domain = null): string {} argument 15 function dgettext(string $domain, string $message): string {} argument 18 function dcgettext(string $domain, string $message, int $category): string {} argument 21 function bindtextdomain(string $domain, ?string $directory = null): string|false {} argument 30 function dngettext(string $domain, string $singular, string $plural, int $count): string {} argument 35 function dcngettext(string $domain, string $singular, string $plural, int $count, int $category): s… argument 40 function bind_textdomain_codeset(string $domain, ?string $codeset = null): string|false {} argument
|
H A D | gettext_arginfo.h | 5 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, domain, IS_STRING, 1, "null") 15 ZEND_ARG_TYPE_INFO(0, domain, IS_STRING, 0) 20 ZEND_ARG_TYPE_INFO(0, domain, IS_STRING, 0) 26 ZEND_ARG_TYPE_INFO(0, domain, IS_STRING, 0) 40 ZEND_ARG_TYPE_INFO(0, domain, IS_STRING, 0) 49 ZEND_ARG_TYPE_INFO(0, domain, IS_STRING, 0) 59 ZEND_ARG_TYPE_INFO(0, domain, IS_STRING, 0)
|
/php-src/ext/intl/tests/ |
H A D | bug72506.phpt | 2 Bug #72506 (idn_to_ascii with INTL_IDNA_VARIANT_UTS46 fatals for long domain names) 14 // ASCII domain name with 255 characters 15 $domain = str_repeat('a.', 126) . 'aaa'; 16 $result = idn_to_ascii($domain, 0, INTL_IDNA_VARIANT_UTS46, $info); 19 // ASCII domain name with 256 characters – one character added 20 $domain .= 'a'; 21 $result = idn_to_ascii($domain, 0, INTL_IDNA_VARIANT_UTS46, $info); 24 // International domain name with cyrillic "ф" characters 25 $domain = str_repeat('ф.', 32) . 'a'; 26 $result = idn_to_ascii($domain, 0, INTL_IDNA_VARIANT_UTS46, $info);
|
/php-src/ext/ldap/tests/ |
H A D | ldap_delete_ext.phpt | 18 ldap_add($link, "dc=my-domain,$base", array( 23 "dc" => "my-domain", 24 "o" => "my-domain", 28 $result = ldap_delete_ext($link, "dc=my-domain,$base", 35 @ldap_search($link, "dc=my-domain,$base", "(o=my-domain)") 44 @ldap_delete($link, "dc=my-domain,$base"); 58 string(%d) "dc=my-domain,%s" 62 string(9) "my-domain" 67 string(9) "my-domain"
|
H A D | ldap_delete_basic.phpt | 15 ldap_add($link, "dc=my-domain,$base", array( 20 "dc" => "my-domain", 21 "o" => "my-domain", 25 ldap_delete($link, "dc=my-domain,$base"), 26 @ldap_search($link, "dc=my-domain,$base", "(o=my-domain)") 35 @ldap_delete($link, "dc=my-domain,$base");
|
H A D | ldap_add_basic.phpt | 17 ldap_add($link, "dc=my-domain,$base", array( 22 "dc" => "my-domain", 23 "o" => "my-domain", 27 ldap_search($link, "$base", "(o=my-domain)") 37 ldap_delete($link, "dc=my-domain,$base"); 64 string(9) "my-domain" 73 string(9) "my-domain" 80 string(%d) "dc=my-domain,%s"
|
H A D | ldap_mod_add_error.phpt | 17 var_dump(ldap_mod_add($link, "dc=my-domain,$base", ["dc" => "my-domain"])); 20 var_dump(ldap_mod_add($link, "weirdAttribute=val", ["dc" => "my-domain"])); 28 "dc" => "my-domain", 29 "o" => "my-domain", 32 ldap_add($link, "dc=my-domain,$base", $entry); 37 var_dump(ldap_mod_add($link, "dc=my-domain,$base", $entry2)); 42 var_dump(ldap_mod_add($link, "dc=my-domain,$base", $entry2)); 50 ldap_delete($link, "dc=my-domain,$base");
|
H A D | ldap_modify_error.phpt | 17 var_dump(ldap_modify($link, "cn=not-found,$base", ["dc" => "my-domain"])); 20 var_dump(ldap_modify($link, "weirdAttribute=val", ["dc" => "my-domain"])); 28 "dc" => "my-domain", 29 "o" => "my-domain", 32 ldap_add($link, "dc=my-domain,$base", $entry); 37 var_dump(ldap_modify($link, "dc=my-domain,$base", $entry2)); 42 var_dump(ldap_modify($link, "dc=my-domain,$base", $entry2)); 50 ldap_delete($link, "dc=my-domain,$base");
|
H A D | ldap_add_error.phpt | 32 "dc=my-domain,$base", 39 "dc" => "my-domain", 40 "o" => "my-domain", 51 "dc=my-domain,$base", 58 "dc" => "my-domain", 59 "o" => "my-domain", 73 ldap_delete($link, "dc=my-domain,$base");
|
H A D | ldap_modify_batch_error.phpt | 36 "dc" => "my-domain", 37 "o" => "my-domain", 40 ldap_add($link, "dc=my-domain,$base", $entry); 42 // invalid domain 51 var_dump(ldap_modify_batch($link, "dc=my-domain,$base", $mods)); 62 var_dump(ldap_modify_batch($link, "dc=my-domain,$base", $mods)); 70 ldap_delete($link, "dc=my-domain,$base");
|
H A D | ldap_mod_del_error.phpt | 17 var_dump(ldap_mod_del($link, "dc=my-domain,$base", ["dc" => "my-domain"])); 20 var_dump(ldap_mod_del($link, "weirdAttribute=val", ["dc" => "my-domain"])); 29 @ldap_delete($link, "dc=my-domain,$base");
|
/php-src/.github/ |
H A D | setup_hmailserver.php | 12 $domain = $hmail->Domains->Add(); variable 13 $domain->Name = IMAP_MAIL_DOMAIN; 14 $domain->Active = true; 15 $domain->Save(); 17 $accounts = $domain->accounts();
|
/php-src/ext/gettext/tests/ |
H A D | 44938.phpt | 9 $domain = "domain"; 25 dngettext($domain, $overflown, $msgid, 1); 31 dngettext($domain, $msgid, $overflown, 1); 61 dcgettext($domain, $overflown, -1); 91 dgettext($domain, $overflown); 104 bindtextdomain(): Argument #1 ($domain) is too long 105 dngettext(): Argument #1 ($domain) is too long 111 dcgettext(): Argument #1 ($domain) is too long 113 dcngettext(): Argument #1 ($domain) is too long 116 dgettext(): Argument #1 ($domain) is too long [all …]
|
H A D | bug66267.phpt | 25 $domain = 'domain'; 34 bindtextdomain($domain, $path); 35 bind_textdomain_codeset($domain, "UTF-8"); 36 textdomain($domain);
|
/php-src/ext/intl/idn/ |
H A D | idn.c | 55 const zend_string *domain, uint32_t option, int mode, zval *idna_info) in php_intl_idn_to_46() argument 71 len = uidna_nameToASCII_UTF8(uts46, ZSTR_VAL(domain), ZSTR_LEN(domain), in php_intl_idn_to_46() 81 len = uidna_nameToUnicodeUTF8(uts46, ZSTR_VAL(domain), ZSTR_LEN(domain), in php_intl_idn_to_46() 112 zend_string *domain; in php_intl_idn_handoff() local 120 Z_PARAM_STR(domain) in php_intl_idn_handoff() 127 if (ZSTR_LEN(domain) == 0) { in php_intl_idn_handoff() 131 if (ZSTR_LEN(domain) > INT32_MAX - 1) { in php_intl_idn_handoff() 148 php_intl_idn_to_46(INTERNAL_FUNCTION_PARAM_PASSTHRU, domain, (uint32_t)option, mode, idna_info); in php_intl_idn_handoff()
|
/php-src/win32/ |
H A D | sockets.c | 27 PHPAPI int socketpair_win32(int domain, int type, int protocol, SOCKET sock[2], int overlapped) in socketpair_win32() argument 33 if (domain != AF_INET) { in socketpair_win32() 40 sock[0] = socket(domain, type, protocol); in socketpair_win32() 62 sock[1] = socket(domain, type, protocol); in socketpair_win32() 64 sock[1] = WSASocket(domain, type, protocol, NULL, 0, 0); in socketpair_win32() 94 PHPAPI int socketpair(int domain, int type, int protocol, SOCKET sock[2]) in socketpair() argument 96 return socketpair_win32(domain, type, protocol, sock, 1); in socketpair()
|
H A D | sockets.h | 25 PHPAPI int socketpair_win32(int domain, int type, int protocol, SOCKET sock[2], int overlapped); 26 PHPAPI int socketpair(int domain, int type, int protocol, SOCKET sock[2]);
|
/php-src/ext/session/tests/ |
H A D | session_get_cookie_params_variation1.phpt | 45 ["domain"]=> 59 ["domain"]=> 73 ["domain"]=> 87 ["domain"]=> 101 ["domain"]=> 115 ["domain"]=> 129 ["domain"]=>
|
H A D | session_get_cookie_params_basic.phpt | 29 "domain" => "baz", 45 ["domain"]=> 60 ["domain"]=> 75 ["domain"]=> 90 ["domain"]=>
|
/php-src/ext/sockets/tests/ |
H A D | socket_create_pair.phpt | 9 $domain = AF_INET; 11 $domain = AF_UNIX; 13 socket_create_pair($domain, SOCK_STREAM, 0, $sockets);
|
H A D | socket_select.phpt | 9 $domain = AF_INET; 11 $domain = AF_UNIX; 13 socket_create_pair($domain, SOCK_STREAM, 0, $sockets);
|
H A D | socket_select-wrongparams-4.phpt | 11 $domain = AF_INET; 13 $domain = AF_UNIX; 15 socket_create_pair($domain, SOCK_STREAM, 0, $sockets);
|
/php-src/ext/standard/ |
H A D | head.c | 81 zend_string *path, zend_string *domain, bool secure, bool httponly, in php_setcookie() argument 108 …if (domain && strpbrk(ZSTR_VAL(domain), ",; \t\r\n\013\014") != NULL) { /* man isspace for \013 an… in php_setcookie() 171 if (domain && ZSTR_LEN(domain)) { in php_setcookie() 173 smart_str_append(&buf, domain); in php_setcookie() 195 zend_string **domain, bool *secure, bool *httponly, zend_string **samesite) in php_head_parse_cookie_options_array() argument 210 *domain = zval_get_string(value); in php_head_parse_cookie_options_array() 229 zend_string *name, *value = NULL, *path = NULL, *domain = NULL, *samesite = NULL; in php_setcookie_common() local 238 Z_PARAM_STR(domain) in php_setcookie_common() 251 &domain, &secure, &httponly, &samesite) in php_setcookie_common() 268 if (domain) { in php_setcookie_common() [all …]
|
/php-src/.github/scripts/ |
H A D | setup-slapd.sh | 53 olcSuffix: dc=my-domain,dc=com 56 olcRootDN: cn=Manager,dc=my-domain,dc=com 76 olcAuthzRegexp: uid=usera,cn=digest-md5,cn=auth cn=usera,dc=my-domain,dc=com 124 ldapadd -H ldapi:/// -D cn=Manager,dc=my-domain,dc=com -w secret <<EOF 125 dn: dc=my-domain,dc=com 129 dc: my-domain 166 …arch -d 255 -H ldaps://localhost -D cn=Manager,dc=my-domain,dc=com -w secret -s base -b dc=my-doma…
|