/PHP-8.1/ext/gettext/ |
H A D | gettext.c | 75 zend_string *domain = NULL; in PHP_FUNCTION() local 81 if (domain != NULL && ZSTR_LEN(domain) != 0 && !zend_string_equals_literal(domain, "0")) { in PHP_FUNCTION() 83 domain_name = ZSTR_VAL(domain); in PHP_FUNCTION() 117 zend_string *domain, *msgid; in PHP_FUNCTION() local 140 zend_string *domain, *msgid; in PHP_FUNCTION() local 163 char *domain; in PHP_FUNCTION() local 174 if (domain[0] == '\0') { in PHP_FUNCTION() 180 RETURN_STRING(bindtextdomain(domain, NULL)); in PHP_FUNCTION() 191 retval = bindtextdomain(domain, dir_name); in PHP_FUNCTION() 224 char *domain, *msgid1, *msgid2, *msgstr = NULL; in PHP_FUNCTION() local [all …]
|
H A D | gettext.stub.php | 6 function textdomain(?string $domain): 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): 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): string|false {} argument
|
H A D | gettext_arginfo.h | 5 ZEND_ARG_TYPE_INFO(0, domain, IS_STRING, 1) 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-8.1/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-8.1/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", array())); 27 "dc" => "my-domain", 28 "o" => "my-domain", 31 ldap_add($link, "dc=my-domain,$base", $entry); 36 var_dump(ldap_mod_add($link, "dc=my-domain,$base", $entry2)); 41 var_dump(ldap_mod_add($link, "dc=my-domain,$base", $entry2)); 49 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_modify_error.phpt | 27 "dc" => "my-domain", 28 "o" => "my-domain", 31 ldap_add($link, "dc=my-domain,$base", $entry); 36 var_dump(ldap_modify($link, "dc=my-domain,$base", $entry2)); 41 var_dump(ldap_modify($link, "dc=my-domain,$base", $entry2)); 49 ldap_delete($link, "dc=my-domain,$base");
|
H A D | ldap_add_error.phpt | 30 ldap_add($link, "dc=my-domain,$base", array( 35 "dc" => "my-domain", 36 "o" => "my-domain", 48 "dc" => "my-domain", 49 "o" => "my-domain", 67 "dc" => "my-domain", 68 "o" => "my-domain", 91 ldap_delete($link, "dc=my-domain,$base");
|
/PHP-8.1/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-8.1/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-8.1/ext/intl/idn/ |
H A D | idn.c | 120 const zend_string *domain, uint32_t option, int mode, zval *idna_info) in php_intl_idn_to_46() argument 136 len = uidna_nameToASCII_UTF8(uts46, ZSTR_VAL(domain), ZSTR_LEN(domain), in php_intl_idn_to_46() 146 len = uidna_nameToUnicodeUTF8(uts46, ZSTR_VAL(domain), ZSTR_LEN(domain), in php_intl_idn_to_46() 177 zend_string *domain; in php_intl_idn_handoff() local 185 &domain, &option, &variant, &idna_info) == FAILURE) { in php_intl_idn_handoff() 194 if (ZSTR_LEN(domain) < 1) { in php_intl_idn_handoff() 198 if (ZSTR_LEN(domain) > INT32_MAX - 1) { in php_intl_idn_handoff() 211 php_intl_idn_to_46(INTERNAL_FUNCTION_PARAM_PASSTHRU, domain, (uint32_t)option, mode, idna_info); in php_intl_idn_handoff()
|
/PHP-8.1/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-8.1/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-8.1/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() 172 if (domain && ZSTR_LEN(domain)) { in php_setcookie() 174 smart_str_append(&buf, domain); in php_setcookie() 196 zend_string **domain, bool *secure, bool *httponly, zend_string **samesite) in php_head_parse_cookie_options_array() argument 211 *domain = zval_get_string(value); in php_head_parse_cookie_options_array() 230 zend_string *name, *value = NULL, *path = NULL, *domain = NULL, *samesite = NULL; in php_setcookie_common() local 239 Z_PARAM_STR(domain) in php_setcookie_common() 252 &domain, &secure, &httponly, &samesite) in php_setcookie_common() 269 if (domain) { in php_setcookie_common() [all …]
|
/PHP-8.1/.github/scripts/ |
H A D | setup-slapd.sh | 51 olcSuffix: dc=my-domain,dc=com 54 olcRootDN: cn=Manager,dc=my-domain,dc=com 74 olcAuthzRegexp: uid=usera,cn=digest-md5,cn=auth cn=usera,dc=my-domain,dc=com 122 ldapadd -H ldapi:/// -D cn=Manager,dc=my-domain,dc=com -w secret <<EOF 123 dn: dc=my-domain,dc=com 127 dc: my-domain 164 …arch -d 255 -H ldaps://localhost -D cn=Manager,dc=my-domain,dc=com -w secret -s base -b dc=my-doma…
|
/PHP-8.1/ext/imap/tests/ |
H A D | bug31142_2.phpt | 7 $envelope["from"]= 'host@domain.com'; 8 $envelope["return_path"]= 'host@domain.com'; 21 From: host@domain.com
|
/PHP-8.1/ext/standard/tests/mail/ |
H A D | bug72964.phpt | 46 $to = "{$users[2]}@$domain"; 50 . "Cc: {$users[0]}@$domain,\r\n\t{$users[1]}@$domain\r\n" 51 . "Bcc: {$users[2]}@$domain,\r\n {$users[3]}@$domain\r\n"; 61 if (!find_and_delete_message("$user@$domain", $subject)) {
|