Input/Output Learning Mode

Consider the following PHP script, which reads a file, line-by-line, from a text file. Which function call should be inserted in place of the question marks in order for the script to function correctly?

<?php
 $file = fopen("test", "r"); while(!feof($file)) {
 echo ????????????; } fclose($file);
?>