Home
last modified time | relevance | path

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

/PHP-5.5/ext/standard/tests/network/
H A Dgethostbyname_basic003.phpt2 Test gethostbyname() function : basic functionality
5 /* Prototype : string gethostbyname ( string $hostname )
10 echo "*** Testing gethostbyname() : basic functionality ***\n";
12 echo gethostbyname("localhost")."\n";
16 *** 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 is too long, the limit is %d characters in %s%ebug68925.php on …
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_error005.phpt2 gethostbyname() function - basic invalid parameter test
9 var_dump(gethostbyname());
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
12 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-5.5/ext/curl/tests/
H A Dcurl_basic_008.phpt9 if (gethostbyname($addr) != $addr) {
H A Dcurl_basic_010.phpt9 if (gethostbyname($addr) != $addr) {
H A Dcurl_error_basic.phpt12 $ip = gethostbyname($url);
/PHP-5.5/ext/snmp/tests/
H A Dbug60749.phpt14 $ip = gethostbyname($hostname);
/PHP-5.5/ext/standard/
H A Dphp_dns.h55 PHP_FUNCTION(gethostbyname);
H A Ddns.c215 PHP_FUNCTION(gethostbyname) in PHP_FUNCTION() argument
256 hp = gethostbyname(hostname); in PHP_FUNCTION()
276 hp = gethostbyname(name); in php_gethostbyname()
H A Dbasic_functions.c3041 PHP_FE(gethostbyname, arginfo_gethostbyname)
/PHP-5.5/ext/sockets/
H A Dsockaddr_conv.c93 if (strlen(string) > MAXFQDNLEN || ! (host_entry = gethostbyname(string))) { in php_set_inet_addr()
H A Dsockets.c425 if ((hp = gethostbyname("0.0.0.0")) == NULL) {
427 if ((hp = gethostbyname("localhost")) == NULL) {
/PHP-5.5/win32/
H A Dsendmail.c788 ent = gethostbyname(LocalHost); in MailConnect()
954 lpstHost = gethostbyname(szHost); in GetAddr()
/PHP-5.5/main/
H A Dnetwork.c253 host_info = gethostbyname(host); in php_network_getaddresses()
/PHP-5.5/sapi/cgi/
H A Dfastcgi.c621 hep = gethostbyname(host); in fcgi_listen()
/PHP-5.5/
H A DNEWS627 . Fixed bug #68925 (Mitigation for CVE-2015-0235 – GHOST: glibc gethostbyname

Completed in 115 milliseconds