1--TEST-- 2Test 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 10echo "*** Testing gethostbynamel() : basic functionality ***\n"; 11var_dump(gethostbynamel("localhost")); 12?> 13===DONE=== 14--EXPECTF-- 15*** Testing gethostbynamel() : basic functionality *** 16array(%d) { 17 %a 18} 19===DONE=== 20