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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user