×
×
Correct!

Open a file, and write the correct syntax to output one character at the time, until end-of-file.

$myfile = fopen("webdict.txt", "r"); while(!feof($myfile)) { echo fgetc($myfile); }

Not Correct

Click here to try again.

Correct!

$myfile = fopen("webdict.txt", "r");

while(!($myfile)) {
  echo ($myfile);
}


  
  
  




×

Reset the Score?

This will reset the score of ALL 47 exercises.

Are you sure you want to continue?



×

Congratulations!

You have finished all 47 PHP exercises.

Share your score: