Skip to content

Conversation

@cmb69
Copy link
Member

@cmb69 cmb69 commented May 2, 2020

Despite the docs claiming that data: wrappers would not be writable[1],
they are implemented as writing to a memory stream. That does not seem
to be particularly sensible, so we disallow writing altogether.

[1] https://www.php.net/manual/en/wrappers.data.php#refsect1-wrappers.data-options

Despite the docs claiming that data: wrappers would not be writable[1],
they are implemented as writing to a memory stream.  That does not seem
to be particularly sensible, so we disallow writing altogether.

[1] <https://www.php.net/manual/en/wrappers.data.php#refsect1-wrappers.data-options>
@cmb69 cmb69 added the Bug label May 2, 2020
Copy link
Member

@nikic nikic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe add an UPGRADING note, just in case.

@cmb69
Copy link
Member Author

cmb69 commented May 3, 2020

Thanks! Applied as 69888c3.

@cmb69 cmb69 closed this May 3, 2020
@cmb69 cmb69 deleted the cmb/79467 branch May 3, 2020 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants