File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / standard / tests / network / gethostbyname_basic001.phpt
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Mon Jul 22 01:32:09 2013 UTC (11 years ago) by misho
Branches: php, MAIN
CVS tags: v5_4_29p0, v5_4_29, v5_4_20p0, v5_4_20, v5_4_17, HEAD
5.4.17

--TEST--
gethostbyname() function - basic type return test
--CREDITS--
"Sylvain R." <sracine@phpquebec.org>
--SKIPIF--
<?php
if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
if (getenv("SKIP_ONLINE_TESTS")) die("skip test requiring internet connection");
?>
--FILE--
<?php
	var_dump(is_string(gethostbyname("www.php.net")));
?>
--EXPECT--
bool(true)

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>