Home » PHP » PHP File Handling » Question
  1. Which one of the following function reads a directory into an Array?
    1. scandirectory()
    2. scandir()
    3. readdirectory()
    4. readdir()
    5. None of these
Correct Option: B

It returns an array consisting of files and directories found in directory or returns FALSE on error.



Your comments will be displayed only after manual approval.