Home
last modified time | relevance | path

Searched refs:gethostbyname (Results 1 – 21 of 21) sorted by relevance

/PHP-8.4/ext/standard/tests/network/
H A Dgethostbyname_basic003.phpt2 Test gethostbyname() function : basic functionality
5 echo "*** Testing gethostbyname() : basic functionality ***\n";
7 echo gethostbyname("localhost")."\n";
10 *** Testing gethostbyname() : basic functionality ***
H A Dbug68925.phpt2 Bug #68925 (CVE-2015-0235 – GHOST: glibc gethostbyname buffer overflow)
5 var_dump(gethostbyname(str_repeat("0", 2501)));
9 Warning: gethostbyname(): Host name cannot be longer than %d characters in %s%ebug68925.php on line…
H A Dbug79405.phpt2 Bug #79405 - gethostbyname() silently truncates after a null byte
7 var_dump(gethostbyname($host));
18 gethostbyname(): Argument #1 ($hostname) must not contain any null bytes
H A Dgethostbyname_error001.phpt2 gethostbyname() function - basic type return error test
7 var_dump(is_string(gethostbyname("192.168.0.101")));
H A Dgethostbyname_error002.phpt2 gethostbyname() function - basic type return error test
7 var_dump(is_string(gethostbyname("1234567890")));
H A Dgethostbyname_error003.phpt2 gethostbyname() function - basic type return error test
7 var_dump(is_string(gethostbyname("asdfasdf")));
H A Dgethostbyname_error006.phpt2 gethostbyname() function - basic invalid parameter test
7 var_dump(gethostbyname(".toto.toto.toto"));
H A Dgethostbyname_basic001.phpt2 gethostbyname() function - basic type return test
11 var_dump(is_string(gethostbyname("www.php.net")));
H A Dgethostbyname_error004.phpt2 gethostbyname() function - basic return valid ip address test
12 $ip = gethostbyname("www.php.net");
/PHP-8.4/ext/pcntl/tests/
H A Dpcntl_unshare_03.phpt28 var_dump(gethostbyname('php.net'));
30 var_dump(gethostbyname('php.net'));
/PHP-8.4/ext/opcache/tests/
H A Dbu69838.phpt13 $x = gethostbyname("localhost");
/PHP-8.4/ext/curl/tests/
H A Dcurl_basic_008.phpt10 if (gethostbyname($addr) != $addr) {
H A Dcurl_basic_010.phpt10 if (gethostbyname($addr) != $addr) {
H A Dcurl_error_basic.phpt13 $ip = gethostbyname($url);
/PHP-8.4/ext/snmp/tests/
H A Dbug60749.phpt16 $ip = gethostbyname($hostname);
/PHP-8.4/win32/
H A Dsendmail.c823 ent = gethostbyname(PW32G(mail_local_host)); in MailConnect()
1003 lpstHost = gethostbyname(szHost); in GetAddr()
/PHP-8.4/ext/standard/
H A Ddns.c219 PHP_FUNCTION(gethostbyname) in PHP_FUNCTION() argument
H A Dbasic_functions.stub.php2136 function gethostbyname(string $hostname): string {}
H A Dbasic_functions_arginfo.h2467 ZEND_FUNCTION(gethostbyname);
3063 ZEND_FE(gethostbyname, arginfo_gethostbyname)
/PHP-8.4/main/
H A Dnetwork.c1318 return gethostbyname(name);
/PHP-8.4/sapi/fpm/tests/
H A Dfcgi.inc257 $ip = filter_var($host, FILTER_VALIDATE_IP) ? $host : gethostbyname($host);

Completed in 73 milliseconds