mirror of
https://github.com/php/php-src.git
synced 2026-04-19 22:11:12 +02:00
15 lines
323 B
PHP
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
|