Home
last modified time | relevance | path

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

/php-src/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-src/ext/pcntl/tests/
H A Dpcntl_unshare_03.phpt28 var_dump(gethostbyname('php.net'));
30 var_dump(gethostbyname('php.net'));
/php-src/ext/opcache/tests/
H A Dbu69838.phpt13 $x = gethostbyname("localhost");
/php-src/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-src/ext/snmp/tests/
H A Dbug60749.phpt16 $ip = gethostbyname($hostname);
/php-src/win32/
H A Dsendmail.c821 ent = gethostbyname(PW32G(mail_local_host)); in MailConnect()
1001 lpstHost = gethostbyname(szHost); in GetAddr()
/php-src/ext/standard/
H A Ddns.c219 PHP_FUNCTION(gethostbyname) in PHP_FUNCTION() argument
H A Dbasic_functions.stub.php2148 function gethostbyname(string $hostname): string {}
H A Dbasic_functions_arginfo.h2488 ZEND_FUNCTION(gethostbyname);
3115 ZEND_FE(gethostbyname, arginfo_gethostbyname)
/php-src/main/
H A Dnetwork.c1310 return gethostbyname(name);
/php-src/sapi/fpm/tests/
H A Dfcgi.inc257 $ip = filter_var($host, FILTER_VALIDATE_IP) ? $host : gethostbyname($host);

Completed in 60 milliseconds