From 2edc5e00ac5ceef6429c3ef4651745efa97a13d8 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Mon, 13 Jul 2020 14:50:25 +0200 Subject: 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] --- UPGRADING | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'UPGRADING') 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 -- cgit v1.2.1