Skip to content

Commit d65025b

Browse files
committed
Update NEWS/UPGRADING for recent commits
1 parent 1687231 commit d65025b

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed

NEWS

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,18 @@ PHP NEWS
55
- Core:
66
. Non-canonical cast names (boolean), (integer), (double), and (binary) have
77
been deprecated. (Girgias)
8+
. The $exclude_disabled parameter of the get_defined_functions() function has
9+
been deprecated, as it no longer has any effect since PHP 8.0. (Girgias)
810

911
- FileInfo
1012
. The finfo_close() function has been deprecated. (timwolla)
1113

14+
- Intl:
15+
. Intl's internal error mechanism has been modernized so that it
16+
indicates more accurately which call site caused what error.
17+
Moreover, some ext/date exceptions have been wrapped inside a
18+
IntlException now. (Girgias)
19+
1220
- MySQLi:
1321
. The mysqli_execute() alias function has been deprecated. (timwolla)
1422

@@ -22,6 +30,17 @@ PHP NEWS
2230
. The setAccessible() methods of various Reflection objects have been
2331
deprecated, as those no longer have an effect. (timwolla)
2432

33+
- SPL:
34+
. Unregistering all autoloaders by passing the spl_autoload_call() function
35+
as a callback argument to spl_autoload_unregister() has been deprecated.
36+
Instead if this is needed, one should iterate over the return value of
37+
spl_autoload_functions() and call spl_autoload_unregister() on each
38+
value. (Girgias)
39+
. The SplObjectStorage::contains(), SplObjectStorage::attach(), and
40+
SplObjectStorage::detach() methods have been deprecated in favour of
41+
SplObjectStorage::offsetExists(), SplObjectStorage::offsetSet(), and
42+
SplObjectStorage::offsetUnset() respectively. (Girgias)
43+
2544
- Standard:
2645
. The socket_set_timeout() alias function has been deprecated. (timwolla)
2746

UPGRADING

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,9 @@ PHP 8.5 UPGRADE NOTES
319319
. Non-canonical cast names (boolean), (integer), (double), and (binary) have
320320
been deprecated, use (bool), (int), (float), and (string) respectively.
321321
RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_non-standard_cast_names
322+
. The $exclude_disabled parameter of the get_defined_functions() function has
323+
been deprecated, as it no longer has any effect since PHP 8.0.
324+
RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_the_exclude_disabled_parameter_of_get_defined_functions
322325

323326
- FileInfo:
324327
. The finfo_close() function has been deprecated.
@@ -346,6 +349,18 @@ PHP 8.5 UPGRADE NOTES
346349
deprecated, as those no longer have an effect.
347350
RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_reflectionsetaccessible
348351

352+
- SPL:
353+
. Unregistering all autoloaders by passing the spl_autoload_call() function
354+
as a callback argument to spl_autoload_unregister() has been deprecated.
355+
Instead if this is needed, one should iterate over the return value of
356+
spl_autoload_functions() and call spl_autoload_unregister() on each value.
357+
RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_passing_spl_autoload_call_to_spl_autoload_unregister
358+
. The SplObjectStorage::contains(), SplObjectStorage::attach(), and
359+
SplObjectStorage::detach() methods have been deprecated in favour of
360+
SplObjectStorage::offsetExists(), SplObjectStorage::offsetSet(), and
361+
SplObjectStorage::offsetUnset() respectively.
362+
RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_splobjectstoragecontains_splobjectstorageattach_and_splobjectstoragedetach
363+
349364
- Standard:
350365
. The socket_set_timeout() alias function has been deprecated.
351366
Use stream_set_timeout() instead.
@@ -575,6 +590,12 @@ PHP 8.5 UPGRADE NOTES
575590
. The return type of finfo_close() has been changed to true, rather
576591
than bool.
577592

593+
- Intl:
594+
. Intl's internal error mechanism has been modernized so that it
595+
indicates more accurately which call site caused what error.
596+
Moreover, some ext/date exceptions have been wrapped inside a
597+
IntlException now.
598+
578599
- Lexbor:
579600
. An always enabled lexbor extension is added. It contains the lexbor
580601
library that was separated from ext/dom for being reused among other

0 commit comments

Comments
 (0)