1--TEST--
2Test gethostbyname() function : basic functionality
3--FILE--
4<?php
5/* Prototype  : string gethostbyname  ( string $hostname  )
6 * Description: Get the IPv4 address corresponding to a given Internet host name
7 * Source code: ext/standard/dns.c
8*/
9
10echo "*** Testing gethostbyname() : basic functionality ***\n";
11
12echo gethostbyname("localhost")."\n";
13?>
14===DONE===
15--EXPECT--
16*** Testing gethostbyname() : basic functionality ***
17127.0.0.1
18===DONE===