summaryrefslogtreecommitdiff
path: root/UPGRADING
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2020-05-02 16:57:24 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2020-05-03 12:19:37 +0200
commit69888c3ff1f2301ead8e37b23ff8481d475e29d2 (patch)
tree0f3a4d9963fc1aaf642d2524b73b57f332cc94b8 /UPGRADING
parent34f727e63716dfb798865289c079b017812ad03b (diff)
downloadphp-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--UPGRADING1
1 files changed, 1 insertions, 0 deletions
diff --git a/UPGRADING b/UPGRADING
index fc832ba2e3..5345111acc 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -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