diff --git a/ext/standard/tests/network/gethostbyaddr_basic1.phpt b/ext/standard/tests/network/gethostbyaddr_basic1.phpt new file mode 100644 index 00000000000..2232d36265c --- /dev/null +++ b/ext/standard/tests/network/gethostbyaddr_basic1.phpt @@ -0,0 +1,18 @@ +--TEST-- +Test gethostbyaddr() function : basic functionality +--FILE-- + +===DONE=== +--EXPECTF-- +*** Testing gethostbyaddr() : basic functionality *** +%rloopback|localhost(\.localdomain)?%r +===DONE=== \ No newline at end of file diff --git a/ext/standard/tests/network/gethostbyname_basic003.phpt b/ext/standard/tests/network/gethostbyname_basic003.phpt new file mode 100644 index 00000000000..711490c4130 --- /dev/null +++ b/ext/standard/tests/network/gethostbyname_basic003.phpt @@ -0,0 +1,18 @@ +--TEST-- +Test gethostbyname() function : basic functionality +--FILE-- + +===DONE=== +--EXPECT-- +*** Testing gethostbyname() : basic functionality *** +127.0.0.1 +===DONE=== \ No newline at end of file diff --git a/ext/standard/tests/network/gethostbynamel_basic1.phpt b/ext/standard/tests/network/gethostbynamel_basic1.phpt new file mode 100644 index 00000000000..5ce7c4251aa --- /dev/null +++ b/ext/standard/tests/network/gethostbynamel_basic1.phpt @@ -0,0 +1,19 @@ +--TEST-- +Test gethostbynamel() function : basic functionality +--FILE-- + +===DONE=== +--EXPECTF-- +*** Testing gethostbynamel() : basic functionality *** +array(%d) { + %a +} +===DONE=== \ No newline at end of file