/* Decoded by unphp.net */
--TEST--
Crash inside stream_get_line(), when length=0
--FILE--
bar
foo");
$fp = fopen($path, "r");
while ($fp && !feof($fp)) {
echo stream_get_line($fp, 0, "
")."
";
}
fclose($fp);
@unlink($path);
?>
--EXPECT--
foo
bar
foo