Menu
×
×
Correct!
Exercise: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(!@(4)($myfile)) {
echo @(5)($myfile);
}
$myfile = fopen("webdict.txt", "r");
while(!feof($myfile)) {
echo fgetc($myfile);
}
Not CorrectClick here to try again. Correct!Next ❯ |
This will reset the score of ALL 47 exercises.
Are you sure you want to continue?