summaryrefslogtreecommitdiff
path: root/UPGRADING
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-07-13 14:50:25 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-07-13 14:50:25 +0200
commit2edc5e00ac5ceef6429c3ef4651745efa97a13d8 (patch)
treef368f9a2b7d7595cc62cb6b97b2fcd0609b13e5b /UPGRADING
parent0cab3fa10eb1a2d15a2c27fe879c1c0398b7245a (diff)
downloadphp-git-2edc5e00ac5ceef6429c3ef4651745efa97a13d8.tar.gz
Add user upgrading note for no_separation change
I added this to UPGRADING.INTERNALS, but it should also be mentioned in UPGRADING, as it affects user-visible behavior. [ci skip]
Diffstat (limited to 'UPGRADING')
-rw-r--r--UPGRADING5
1 files changed, 5 insertions, 0 deletions
diff --git a/UPGRADING b/UPGRADING
index 06339925db..704bd2924a 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -470,6 +470,11 @@ PHP 8.0 UPGRADE NOTES
// With
usort($array, fn($a, $b) => $a <=> $b);
+ . Any functions accepting callbacks that are not explicitly specified to
+ accept parameters by reference will now warn if a callback with reference
+ parameters is used. Examples include array_filter() and array_reduce().
+ This was already the case for most, but not all, functions previously.
+
- Sysvmsg:
. msg_get_queue() will now return an SysvMessageQueue object rather than a
resource. Return value checks using is_resource() should be replaced with