1
0
mirror of https://github.com/php/php-src.git synced 2026-04-20 22:41:20 +02:00
Files
archived-php-src/ext/standard/tests/network/gethostbyaddr_basic1.phpt
Fabien Villepinte a555cc0b3d Clean DONE tags from tests
Remove most of the `===DONE===` tags and its variations.
Keep `===DONE===` if the test output otherwise becomes empty.

Closes GH-4872.
2019-11-07 21:31:47 +01:00

17 lines
470 B
PHP

--TEST--
Test gethostbyaddr() function : basic functionality
--FILE--
<?php
/* Prototype : string gethostbyaddr ( string $ip_address )
* Description: Get the Internet host name corresponding to a given IP address
* Source code: ext/standard/dns.c
*/
echo "*** Testing gethostbyaddr() : basic functionality ***\n";
echo gethostbyaddr("127.0.0.1")."\n";
?>
--EXPECTF--
*** Testing gethostbyaddr() : basic functionality ***
%rloopback|localhost(\.localdomain)?|%s%r