Skip to content

Commit 625c368

Browse files
committed
UPGRADING
1 parent 6771dca commit 625c368

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
@@ -151,6 +151,11 @@ PHP 8.6 UPGRADE NOTES
151151
parsing the format string.
152152
. Arguments are now passed more efficiently to known constructors (e.g. when
153153
using new self()).
154+
. array_map() using a first-class callable or partial function application
155+
callback will be compiled into the equivalent foreach-loop, avoiding the
156+
creation of intermediate Closures, the overhead of calling userland
157+
callbacks from internal functions and providing for better insight for the
158+
JIT.
154159

155160
- DOM:
156161
. Made splitText() faster and consume less memory.

0 commit comments

Comments
 (0)