1
0
mirror of https://github.com/php/php-src.git synced 2026-04-17 04:51:03 +02:00
Files
archived-php-src/ext/standard/tests/network/gethostbynamel_basic1.phpt
Nikita Popov 45f7b2bcc8 Fix CRLF line-endings in tests
Also fix a single instance of CRLF in ibase_query.c.
2016-11-20 22:31:24 +01:00

19 lines
481 B
PHP

--TEST--
Test gethostbynamel() function : basic functionality
--FILE--
<?php
/* Prototype : array gethostbynamel ( string $hostname )
* Description: Get a list of IPv4 addresses corresponding to a given Internet host name
* Source code: ext/standard/dns.c
*/
echo "*** Testing gethostbynamel() : basic functionality ***\n";
var_dump(gethostbynamel("localhost"));
?>
===DONE===
--EXPECTF--
*** Testing gethostbynamel() : basic functionality ***
array(%d) {
%a
}
===DONE===