We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0cab3fa commit 2edc5e0Copy full SHA for 2edc5e0
UPGRADING
@@ -470,6 +470,11 @@ PHP 8.0 UPGRADE NOTES
470
// With
471
usort($array, fn($a, $b) => $a <=> $b);
472
473
+ . Any functions accepting callbacks that are not explicitly specified to
474
+ accept parameters by reference will now warn if a callback with reference
475
+ parameters is used. Examples include array_filter() and array_reduce().
476
+ This was already the case for most, but not all, functions previously.
477
+
478
- Sysvmsg:
479
. msg_get_queue() will now return an SysvMessageQueue object rather than a
480
resource. Return value checks using is_resource() should be replaced with
0 commit comments