Skip to content

Commit 2edc5e0

Browse files
committed
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]
1 parent 0cab3fa commit 2edc5e0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

UPGRADING

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -470,6 +470,11 @@ PHP 8.0 UPGRADE NOTES
470470
// With
471471
usort($array, fn($a, $b) => $a <=> $b);
472472

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+
473478
- Sysvmsg:
474479
. msg_get_queue() will now return an SysvMessageQueue object rather than a
475480
resource. Return value checks using is_resource() should be replaced with

0 commit comments

Comments
 (0)