/php-src/ext/standard/ |
H A D | basic_functions.stub.php | 1945 function ip2long(string $ip): int|false {} argument 1948 function long2ip(int $ip): string {} argument 2145 function gethostbyaddr(string $ip): string|false {} 2239 function inet_ntop(string $ip): string|false {} 2242 function inet_pton(string $ip): string|false {}
|
H A D | basic_functions_arginfo.h | 381 ZEND_ARG_TYPE_INFO(0, ip, IS_STRING, 0) 385 ZEND_ARG_TYPE_INFO(0, ip, IS_LONG, 0) 619 ZEND_ARG_TYPE_INFO(0, ip, IS_STRING, 0)
|
H A D | basic_functions.c | 600 struct in_addr ip; in PHP_FUNCTION() local 606 if (addr_len == 0 || inet_pton(AF_INET, addr, &ip) != 1) { in PHP_FUNCTION() 609 RETURN_LONG(ntohl(ip.s_addr)); in PHP_FUNCTION() 616 zend_ulong ip; in PHP_FUNCTION() local 626 ip = (zend_ulong)sip; in PHP_FUNCTION() 628 myaddr.s_addr = htonl(ip); in PHP_FUNCTION()
|
H A D | dns.c | 120 static zend_string *php_gethostbyaddr(char *ip); 172 static zend_string *php_gethostbyaddr(char *ip) in php_gethostbyaddr() argument 181 if (inet_pton(AF_INET6, ip, &sa6.sin6_addr)) { in php_gethostbyaddr() 185 return zend_string_init(ip, strlen(ip), 0); in php_gethostbyaddr() 188 } else if (inet_pton(AF_INET, ip, &sa4.sin_addr)) { in php_gethostbyaddr() 192 return zend_string_init(ip, strlen(ip), 0); in php_gethostbyaddr() 201 addr.s_addr = inet_addr(ip); in php_gethostbyaddr() 210 return zend_string_init(ip, strlen(ip), 0); in php_gethostbyaddr()
|
H A D | dns_win32.c | 178 char ip[INET_ADDRSTRLEN]; in php_parserr() local 180 if (!inet_ntop(AF_INET, &ipaddr, ip, INET_ADDRSTRLEN)) { in php_parserr() 184 add_assoc_string(subarray, "ip", ip); in php_parserr()
|
H A D | ftp_fopen_wrapper.c | 313 static unsigned short php_fopen_do_pasv(php_stream *stream, char *ip, size_t ip_size, char **phosts… in php_fopen_do_pasv() argument 355 memcpy(ip, hoststart, ip_size); in php_fopen_do_pasv() 356 ip[ip_size-1] = '\0'; in php_fopen_do_pasv() 357 hoststart = ip; in php_fopen_do_pasv() 409 char ip[sizeof("123.123.123.123")]; in php_stream_url_wrap_ftp() local 511 portno = php_fopen_do_pasv(stream, ip, sizeof(ip), &hoststart); in php_stream_url_wrap_ftp() 689 char ip[sizeof("123.123.123.123")]; in php_stream_ftp_opendir() local 709 portno = php_fopen_do_pasv(stream, ip, sizeof(ip), &hoststart); in php_stream_ftp_opendir()
|
/php-src/ext/opcache/jit/ |
H A D | zend_jit_ir.c | 2150 ir_ref ip, if_set; in zend_jit_icall_throw_stub() local 2155 ip = jit_IP(jit); in zend_jit_icall_throw_stub() 2161 ir_STORE(jit_EG(opline_before_exception), ip); in zend_jit_icall_throw_stub() 2178 ir_ref ip, if_set; in zend_jit_leave_throw_stub() local 2182 ip = jit_IP(jit); in zend_jit_leave_throw_stub() 9746 ip = ir_ADD_OFFSET(ip, num_args * sizeof(zend_op)); 9748 jit_LOAD_IP(jit, ip); 9759 ir_ref ip; local 9769 jit_LOAD_IP(jit, ip); 9778 ir_ref ip; local [all …]
|
/php-src/main/ |
H A D | php_variables.c | 151 ip = p; in php_register_variable_ex() 222 ip++; in php_register_variable_ex() 223 index_s = ip; in php_register_variable_ex() 225 ip++; in php_register_variable_ex() 227 if (*ip==']') { in php_register_variable_ex() 230 ip = strchr(ip, ']'); in php_register_variable_ex() 231 if (!ip) { in php_register_variable_ex() 248 *ip = 0; in php_register_variable_ex() 289 ip++; in php_register_variable_ex() 290 if (*ip == '[') { in php_register_variable_ex() [all …]
|
H A D | fastcgi.c | 767 if (ip) { in fcgi_listen() 768 ip = strdup(ip); in fcgi_listen() 769 cur = ip; in fcgi_listen() 777 cur = ip; in fcgi_listen() 798 free(ip); in fcgi_listen() 821 void fcgi_set_allowed_clients(char *ip) in fcgi_set_allowed_clients() argument 826 if (ip) { in fcgi_set_allowed_clients() 827 ip = strdup(ip); in fcgi_set_allowed_clients() 828 cur = ip; in fcgi_set_allowed_clients() 837 cur = ip; in fcgi_set_allowed_clients() [all …]
|
H A D | fastcgi.h | 96 void fcgi_set_allowed_clients(char *ip);
|
/php-src/ext/openssl/ |
H A D | xp_ssl.c | 514 else if (san->d.ip->length == 16 && subject_name_is_ipv6) { in php_openssl_matches_san_list()
|
/php-src/sapi/fpm/tests/ |
H A D | tester.inc | 1250 'PORT' => ['getPort', 'ip'], 1334 public function getPort(string $type = 'ip', $pool = 'default', $useAsId = false)
|
H A D | fcgi.inc | 257 $ip = filter_var($host, FILTER_VALIDATE_IP) ? $host : gethostbyname($host); 259 if (!socket_connect($this->socket, $ip, $port)) {
|
/php-src/Zend/ |
H A D | Zend.m4 | 362 int emu(const opcode_handler_t *ip, void *fp) { 365 IP = ip; 367 while ((*ip)());
|
/php-src/ext/standard/tests/network/ |
H A D | ip2long_variation2.phpt | 21 foreach($ips as $ip) { 22 var_dump(ip2long($ip));
|
H A D | ip_x86_64.phpt | 19 foreach ($array as $ip) { 20 var_dump($long = ip2long($ip));
|
H A D | gethostbyname_error004.phpt | 2 gethostbyname() function - basic return valid ip address test 12 $ip = gethostbyname("www.php.net"); 13 var_dump((bool) ip2long($ip));
|
H A D | ip.phpt | 19 foreach ($array as $ip) { 20 var_dump($long = ip2long($ip));
|
H A D | ip2long_variation2_x64.phpt | 26 foreach($ips as $ip) { 27 var_dump(ip2long($ip));
|
/php-src/ext/curl/tests/ |
H A D | curl_error_basic.phpt | 13 $ip = gethostbyname($url); 14 if ($ip != $url) die("skip 'fakeURL' resolves to $ip\n");
|
/php-src/ext/pgsql/tests/ |
H A D | bug71998.phpt | 59 foreach ($ips as $ip) { 60 $data = array("id" => ++$i, "remote_addr" => $ip); 69 if (!$r && in_array($ip, $bad)) {
|
/php-src/ext/fileinfo/tests/ |
H A D | magic私はガラスを食べられます | 24017 # Dump files for iproute2 tool. Generated by the "ip r|a save" command. URL:
|
H A D | magic | 24017 # Dump files for iproute2 tool. Generated by the "ip r|a save" command. URL:
|
/php-src/sapi/fpm/ |
H A D | www.conf.in | 33 ; 'ip.add.re.ss:port' - to listen on a TCP socket to a specific IPv4 address on 35 ; '[ip:6:addr:ess]:port' - to listen on a TCP socket to a specific IPv6 address on 67 ; accepted from any ip address. 266 ; 'ip.add.re.ss:port' - to listen on a TCP socket to a specific IPv4 address on 268 ; '[ip:6:addr:ess]:port' - to listen on a TCP socket to a specific IPv6 address on
|
/php-src/ext/standard/tests/strings/ |
H A D | str_shuffle_basic.phpt | 20 $ip = 'abcd'; 21 $len_ip = strlen($ip); 24 $op = str_shuffle($ip);
|