Christoph M. Becker
[PHP] Why doe DirectoryIterator extends SplFileInfo?
September 21, 2017 07:00PM
Hi everybody!

I wonder why DirectoryIterator extends SplFileInfo, instead of just
returning SplFileInfo instances from ::current(). I can't find a good
reason for this design decision, so I wanted to ask whether somebody
else can explain it.

Christoph M. Becker

PHP General Mailing List (
To unsubscribe, visit:
Sorry, only registered users may post in this forum.

Click here to login