Home / CSE / PHP - CS :: Discussion

Discussion :: PHP - CS

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

  2. A.

     scandir()

    B.

     readdir()

    C.

     scandirectory()

    D.

     readdirectory()

    View Answer

    Workspace

    Answer : Option A

    Explanation :

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


Be The First To Comment