php-src/ext/standard/tests/network/gethostbyname_error006.phpt

11 lines
228 B
Plaintext
Raw Normal View History

2009-05-16 18:26:59 +00:00
--TEST--
gethostbyname() function - basic invalid parameter test
--CREDITS--
"Sylvain R." <sracine@phpquebec.org>
--FILE--
<?php
var_dump(gethostbyname(".toto.toto.toto"));
?>
--EXPECTF--
%string|unicode%(15) ".toto.toto.toto"