summaryrefslogtreecommitdiff
path: root/UPGRADING
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2018-11-15 21:05:05 +0100
committerNikita Popov <nikita.ppv@gmail.com>2018-11-15 21:05:05 +0100
commit022eea8be1d0a49446b1b52c3f4719717234ccd8 (patch)
tree288d34db8be489161978b0be80d7fce4ab0dcb10 /UPGRADING
parente965fee90464e58263291c4774514e4687b8b34c (diff)
downloadphp-git-022eea8be1d0a49446b1b52c3f4719717234ccd8.tar.gz
Check for zero SplPriorityQueue extract flags earlier
Generate an exception during the SplPriorityQueue::setExtracFlags() call instead of generating E_RECOVERABLE_FATAL all over the place later.
Diffstat (limited to 'UPGRADING')
-rw-r--r--UPGRADING3
1 files changed, 3 insertions, 0 deletions
diff --git a/UPGRADING b/UPGRADING
index 2d9299f883..2e49c7d641 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -46,6 +46,9 @@ PHP 7.4 UPGRADE NOTES
(array) casts are *not* affected. They will continue to return either the
wrapped array, or the ArrayObject properties, depending on whether the
STD_PROP_LIST flag is used.
+ . SplPriorityQueue::setExtractFlags() will throw an exception if zero is
+ passed. Previously this would generate a recoverable fatal error on the
+ next extraction operation.
========================================
2. New Features