Which of the following functions require an open file resource?
[4811,4814]
Correct:
--> fgets()
--> rewind()
The correct answers are A and D. fgets() and rewind() both act on an open file resource. fopen() opens files to create resources, whereas filemtime() takes a filename and reset() acts on arrays.