Searched refs:gethostbyname (Results 1 – 21 of 21) sorted by relevance
2 Test gethostbyname() function : basic functionality5 echo "*** Testing gethostbyname() : basic functionality ***\n";7 echo gethostbyname("localhost")."\n";10 *** Testing gethostbyname() : basic functionality ***
2 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…
2 Bug #79405 - gethostbyname() silently truncates after a null byte7 var_dump(gethostbyname($host));18 gethostbyname(): Argument #1 ($hostname) must not contain any null bytes
2 gethostbyname() function - basic type return error test7 var_dump(is_string(gethostbyname("192.168.0.101")));
2 gethostbyname() function - basic type return error test7 var_dump(is_string(gethostbyname("1234567890")));
2 gethostbyname() function - basic type return error test7 var_dump(is_string(gethostbyname("asdfasdf")));
2 gethostbyname() function - basic invalid parameter test7 var_dump(gethostbyname(".toto.toto.toto"));
2 gethostbyname() function - basic type return test11 var_dump(is_string(gethostbyname("www.php.net")));
2 gethostbyname() function - basic return valid ip address test12 $ip = gethostbyname("www.php.net");
28 var_dump(gethostbyname('php.net'));30 var_dump(gethostbyname('php.net'));
13 $x = gethostbyname("localhost");
10 if (gethostbyname($addr) != $addr) {
13 $ip = gethostbyname($url);
16 $ip = gethostbyname($hostname);
823 ent = gethostbyname(PW32G(mail_local_host)); in MailConnect()1003 lpstHost = gethostbyname(szHost); in GetAddr()
219 PHP_FUNCTION(gethostbyname) in PHP_FUNCTION() argument
2136 function gethostbyname(string $hostname): string {}
2467 ZEND_FUNCTION(gethostbyname);3063 ZEND_FE(gethostbyname, arginfo_gethostbyname)
1318 return gethostbyname(name);
257 $ip = filter_var($host, FILTER_VALIDATE_IP) ? $host : gethostbyname($host);
Completed in 51 milliseconds