Return to file_get_contents_error002.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / standard / tests / file |
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)