mirror of
https://github.com/php/php-src.git
synced 2024-12-15 04:45:03 +08:00
MFH: Fix test: use canonical name to avoid problems with domain search path
This commit is contained in:
parent
d78f5554e7
commit
f11ae4d440
@ -21,7 +21,7 @@ $extra_arg = 10;
|
||||
var_dump( gethostbynamel($hostname, $extra_arg) );
|
||||
|
||||
echo "\n-- Testing gethostbynamel() with an unknown host --\n";
|
||||
$hostname = 'unknownhost_zzz_xxx_yyy';
|
||||
$hostname = 'unknownhost_zzz_xxx_yyy.';
|
||||
var_dump( gethostbynamel($hostname) );
|
||||
|
||||
echo "Done";
|
||||
|
Loading…
Reference in New Issue
Block a user