Annotation of embedaddon/php/ext/standard/tests/network/gethostbyaddr_basic1.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: Test gethostbyaddr() function : basic functionality
3: --FILE--
4: <?php
5: /* Prototype : string gethostbyaddr ( string $ip_address )
6: * Description: Get the Internet host name corresponding to a given IP address
7: * Source code: ext/standard/dns.c
8: */
9:
10: echo "*** Testing gethostbyaddr() : basic functionality ***\n";
11: echo gethostbyaddr("127.0.0.1")."\n";
12:
13: ?>
14: ===DONE===
15: --EXPECTF--
16: *** Testing gethostbyaddr() : basic functionality ***
17: %rloopback|localhost(\.localdomain)?|%s%r
18: ===DONE===
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>