From bdc8f7d871079c791afcda1e2a4858cd100bc3c9 Mon Sep 17 00:00:00 2001 From: marcosptf Date: Fri, 27 Nov 2015 18:07:13 -0200 Subject: [PATCH] test to function gethostname ( void ); --- ext/standard/tests/network/gethostname.phpt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 ext/standard/tests/network/gethostname.phpt diff --git a/ext/standard/tests/network/gethostname.phpt b/ext/standard/tests/network/gethostname.phpt new file mode 100644 index 0000000000..5c811b8c6f --- /dev/null +++ b/ext/standard/tests/network/gethostname.phpt @@ -0,0 +1,20 @@ +--TEST-- +string gethostname(void); +--CREDITS-- +marcosptf - - #phparty7 - @phpsp - novatec/2015 - sao paulo - br +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +%s + +Warning: gethostname() expects exactly %d parameters, %d given in %s on line %d +NULL -- 2.40.0