1
0
mirror of https://github.com/php/php-src.git synced 2026-04-07 16:13:32 +02:00

Missed merging this into the new PHP_5_4 branch

This commit is contained in:
Rasmus Lerdorf
2011-05-15 05:21:01 +00:00
parent 654aa838cd
commit d19c366c4a

View File

@@ -20,10 +20,6 @@ $hostname = 'string_val';
$extra_arg = 10;
var_dump( gethostbynamel($hostname, $extra_arg) );
echo "\n-- Testing gethostbynamel() with an unknown host --\n";
$hostname = 'unknownhost_zzz_xxx_yyy.';
var_dump( gethostbynamel($hostname) );
echo "Done";
?>
--EXPECTF--
@@ -39,6 +35,4 @@ NULL
Warning: gethostbynamel() expects exactly 1 parameter, 2 given in %s on line %d
NULL
-- Testing gethostbynamel() with an unknown host --
bool(false)
Done