go to bug id or search bugs for
Would it be possible to implement functions like opendir in the archive stream wrapper so that they are compatible with DirectoryIterator? This would be helpful in creating the same interface for working with filesystems and archives. Related issue: https://github.com/symfony/symfony/issues/18811
Add a Patch
Add a Pull Request
Short answer: libzip doesn't actually export any kind of opendir/readdir mechanism for us to wrap into the streams layer.
Long answer: I might be able to coerce the entry enumeration API to emulate opendir/readdir, but it's going to be suboptimal.
Appendix: The actual zip:// implementation is... not very good, and I'm going to spend some time cleaning it up before I actually try address feature requests on it.