diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2020-05-02 16:57:24 +0200 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2020-05-03 12:19:37 +0200 |
commit | 69888c3ff1f2301ead8e37b23ff8481d475e29d2 (patch) | |
tree | 0f3a4d9963fc1aaf642d2524b73b57f332cc94b8 /UPGRADING | |
parent | 34f727e63716dfb798865289c079b017812ad03b (diff) | |
download | php-git-69888c3ff1f2301ead8e37b23ff8481d475e29d2.tar.gz |
Fix #79467: data:// wrappers are writable
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>
Diffstat (limited to 'UPGRADING')
-rw-r--r-- | UPGRADING | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -181,6 +181,7 @@ PHP 8.0 UPGRADE NOTES . Disabled functions are now treated exactly like non-existent functions. Calling a disabled function will report it as unknown, and redefining a disabled function is now possible. + . data: wrappers are no longer writable, what matches the documented behavior. - COM: . Removed the ability to import case-insensitive constants from type |