--TEST-- Testing fseek() on a directory stream --FILE-- --EXPECTF-- call readdir(): resource(%d) of type (stream) string(1) "." string(2) ".." string(9) "file1.tmp" string(9) "file2.tmp" string(9) "file3.tmp" call fseek() on directory resource: int(0) call readdir(): string(1) "." string(2) ".." string(9) "file1.tmp" string(9) "file2.tmp" string(9) "file3.tmp" call fseek() with different arguments on directory resource: int(0) call readdir(): string(1) "." string(2) ".." string(9) "file1.tmp" string(9) "file2.tmp" string(9) "file3.tmp" bool(true)