Skip to content

pass options to stream wrapper #293

@dwilbourne

Description

@dwilbourne

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions