1
0
mirror of https://github.com/php/php-src.git synced 2026-04-19 22:11:12 +02:00
Files
archived-php-src/ext/standard/tests/network/gethostname.phpt
Gabriel Caruso 9a4cc52c23 Remove superfluous PHP version check in tests
Also remove tests that target only old PHP versions.
2018-02-04 16:58:54 +01:00

15 lines
323 B
PHP

--TEST--
string gethostname(void);
--CREDITS--
marcosptf - <marcosptf@yahoo.com.br> - #phparty7 - @phpsp - novatec/2015 - sao paulo - br
--FILE--
<?php
var_dump(gethostname());
var_dump(gethostname("php-zend-brazil"));
?>
--EXPECTF--
%s
Warning: gethostname() expects exactly %d parameters, %d given in %s on line %d
NULL