1--TEST-- 2string gethostname(void); 3--CREDITS-- 4marcosptf - <marcosptf@yahoo.com.br> - #phparty7 - @phpsp - novatec/2015 - sao paulo - br 5--SKIPIF-- 6<?php 7if (phpversion() < "5.3.0") { 8 die('SKIP php version so lower.'); 9} 10?> 11--FILE-- 12<?php 13var_dump(gethostname()); 14var_dump(gethostname("php-zend-brazil")); 15?> 16--EXPECTF-- 17%s 18 19Warning: gethostname() expects exactly %d parameters, %d given in %s on line %d 20NULL 21