Zend
200-710 · Question #196
Which elements does the array returned by the function pathinfo() contain?
The correct answer is C. dirname, basename, extension. See the full explanation below for the reasoning.
I/O
Question
Which elements does the array returned by the function pathinfo() contain?
Options
- Aroot, dir, file
- Bdirname, filename, fileextension
- Cdirname, basename, extension
- Dpath, file
How the community answered
(28 responses)- A4% (1)
- B4% (1)
- C82% (23)
- D11% (3)
Topics
#pathinfo#file path parsing#dirname#basename
Community Discussion
No community discussion yet for this question.