Home » PHP » PHP File Handling » Question
  1. Which function sets the file filename last-modified and last-accessed times?
    1. touched()
    2. touch()
    3. sets()
    4. set()
    5. None of these
Correct Option: B

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



Your comments will be displayed only after manual approval.