Skip to content

Commit bc01615

Browse files
committed
NEWS / UPGRADING
1 parent def5276 commit bc01615

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ PHP NEWS
99
. Fixed bug GH-16665 (\array and \callable should not be usable in
1010
class_alias). (nielsdos)
1111
. Added PHP_BUILD_DATE constant. (cmb)
12+
. Added support for Closures in constant expressions. (timwolla,
13+
Volker Dusch)
1214

1315
- Curl:
1416
. Added curl_multi_get_handles(). (timwolla)

UPGRADING

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ PHP 8.5 UPGRADE NOTES
4444
2. New Features
4545
========================================
4646

47+
- Core:
48+
. Added support for Closures in constant expressions.
49+
RFC: https://wiki.php.net/rfc/closures_in_const_expr
50+
4751
- DOM:
4852
. Added Dom\Element::$outerHTML.
4953

0 commit comments

Comments
 (0)