Annotation of embedaddon/php/ext/standard/tests/network/gethostbynamel_basic1.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: Test gethostbynamel() function : basic functionality
3: --FILE--
4: <?php
5: /* Prototype : array gethostbynamel ( string $hostname )
6: * Description: Get a list of IPv4 addresses corresponding to a given Internet host name
7: * Source code: ext/standard/dns.c
8: */
9:
10: echo "*** Testing gethostbynamel() : basic functionality ***\n";
11: var_dump(gethostbynamel("localhost"));
12: ?>
13: ===DONE===
14: --EXPECTF--
15: *** Testing gethostbynamel() : basic functionality ***
16: array(%d) {
17: %a
18: }
19: ===DONE===
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>