Return to file_get_contents_error001.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 offset parameter out of range 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 (getenv("SKIP_SLOW_TESTS")) die("skip slow test"); 11: if (!function_exists("file_get_contents")) 12: die ("skip file_get_contents function is not found"); 13: ?> 14: --FILE-- 15: <?php 16: var_dump(file_get_contents("http://checkip.dyndns.com",null,null,8000,1)); 17: ?> 18: --EXPECT-- 19: bool(false)