diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2018-11-15 21:05:05 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2018-11-15 21:05:05 +0100 |
commit | 022eea8be1d0a49446b1b52c3f4719717234ccd8 (patch) | |
tree | 288d34db8be489161978b0be80d7fce4ab0dcb10 /UPGRADING | |
parent | e965fee90464e58263291c4774514e4687b8b34c (diff) | |
download | php-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-- | UPGRADING | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |