Examveda
Examveda

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

A. sets()

B. set()

C. touch()

D. touched()

Answer: Option C

Solution(By Examveda Team)

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

This Question Belongs to PHP >> File System

Join The Discussion

Related Questions on File System