Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Which one of the following function reads a directory into an Array?

a) scandir()
b) readdir()
c) scandirectory()
d) readdirectory()

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

Join The Discussion