Vidyalelo
PHP · Q8

File System

Programming · PHP · question 8

Q8

Which function sets the file filename’s last-modified and last-accessed times?

A.
sets()
B.
set()
C.
touch()
Answer
D.
touched()

Answer: Option C

Solution

Answer: Option C
Solution:
Its prototype is int touch(string filename [, int time [, int atime]]). It returns TRUE on success or FALSE on error.