--TEST--
more fgetss() tests
--FILE--
aaaaaa\ndddddd",
"asdqw\naaaa<>qqqq",
"aaaqqq",
"asdasdblah",
"some another text <> hoho >"
);
foreach ($array as $str) {
file_put_contents($filename, $str);
$fp = fopen($filename, "r");
var_dump(fgetss($fp, 1000, ",,"));
var_dump(fgetss($fp));
}
foreach ($array as $str) {
file_put_contents($filename, $str);
$fp = fopen($filename, "r");
var_dump(fgetss($fp, 10));
var_dump(fgetss($fp, 10, "