Annotation of embedaddon/php/ext/standard/tests/file/file_get_contents_error002.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: file_get_contents() test using negative parameter for length (last parameter)
3: --CREDITS--
4: "Blanche V.N." <valerie_nare@yahoo.fr>
5: "Sylvain R." <sracine@phpquebec.org>
6: --INI--
7: display_errors=false
8: --SKIPIF--
9: <?php
10: if (!function_exists("file_get_contents"))
11: die ("skip file_get_contents function is not found");
12: ?>
13: --FILE--
14: <?php
15: var_dump(file_get_contents("http://checkip.dyndns.com",null,null,0,-1));
16: ?>
17: --EXPECT--
18: bool(false)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>