Vidyalelo
PHP · Q10

File System

Programming · PHP · question 10

Q10

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

A.
scandir()
Answer
B.
readdir()
C.
scandirectory()
D.
readdirectory()

Answer: Option A

Solution

Answer: Option A
Solution:
It returns an array consisting of files and directories found in directory or returns FALSE on error.