]> granicus.if.org Git - php/commitdiff
Add user upgrading note for no_separation change
authorNikita Popov <nikita.ppv@gmail.com>
Mon, 13 Jul 2020 12:50:25 +0000 (14:50 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Mon, 13 Jul 2020 12:50:25 +0000 (14:50 +0200)
I added this to UPGRADING.INTERNALS, but it should also be
mentioned in UPGRADING, as it affects user-visible behavior.

[ci skip]

UPGRADING

index 06339925dbca138500ca779143682aafbd5da88d..704bd2924a43ba5b43de3a03f17b850131ae4c24 100644 (file)
--- 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