MFH: Fix test: use canonical name to avoid problems with domain search path

This commit is contained in:
Arnaud Le Blanc 2008-07-23 08:27:17 +00:00
parent d78f5554e7
commit f11ae4d440

View File

@ -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";