Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pass options to stream wrapper #293

Open
dwilbourne opened this issue Sep 13, 2024 · 0 comments
Open

pass options to stream wrapper #293

dwilbourne opened this issue Sep 13, 2024 · 0 comments

Comments

@dwilbourne
Copy link

My appologies, this is a usage issue, not any sort of bug I encountered. It is also a result of some less-than-great streams documentation in the php manual, so I have tried my best to RTFM. If I could help write some documentation for vfsStream regarding this subject, I would be glad to.

I want to pass the STREAM_REPORT_ERRORS flag in when I call fopen on vfsStream object. But there is zero php documentation on how to set that flag. The options in the context array are of the form "option => value" and the flag IS a value, so I am lost. Your thoughts? Thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant