Skip to content

Commit 588029a

Browse files
committed
[skip ci] Update NEWS/UPGRADING for allowed_classes option checks
1 parent 3059ada commit 588029a

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

NEWS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ PHP NEWS
1717
. Fixed bug GH-15432 (Heap corruption when querying a vector). (cmb,
1818
Kamil Tekiela)
1919

20+
- Standard:
21+
. The "allowed_classes" option for unserialize() now throws TypeErrors and
22+
ValueErrors if it is not an array of class names. (Girgias)
23+
24+
2025
15 Aug 2024, PHP 8.4.0beta3
2126

2227
- Core:

UPGRADING

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,8 @@ PHP 8.4 UPGRADE NOTES
202202
byte long or the empty string. This aligns the behaviour to be identical
203203
to that of fputcsv() and fgetcsv().
204204
. php_uname() now throws ValueErrors on invalid inputs.
205+
. The "allowed_classes" option for unserialize() now throws TypeErrors and
206+
ValueErrors if it is not an array of class names.
205207

206208
- Tidy:
207209
. Failures in the constructor now throw exceptions rather than emitting

0 commit comments

Comments
 (0)