Annotation of embedaddon/php/ext/standard/tests/network/gethostbyname_basic002.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: gethostbyname() function - basic invalid parameter test
3: --CREDITS--
4: "Sylvain R." <sracine@phpquebec.org>
5: --SKIPIF--
6: <?php
7: if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
8: ?>
9: --FILE--
10: <?php
11: $ip = gethostbyname("www.php.net");
12: var_dump((bool) ip2long($ip));
13: ?>
14: --EXPECT--
15: bool(true)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>