Skip to content

Commit 97df99a

Browse files
committed
Add UPGRADING entries for removed functionality
1 parent ff780fe commit 97df99a

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

UPGRADING

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,34 @@ PHP 8.0 UPGRADE NOTES
2121
========================================
2222

2323
- Core:
24-
. TBD
24+
. Removed track_errors ini directive. This means that $php_errormsg is no
25+
longer available. The error_get_last() function may be used instead.
26+
. Removed create_function(). Anonymous functions may be used instead.
2527

2628
- GD:
2729
. The deprecated function image2wbmp() has been removed.
2830
RFC: https://wiki.php.net/rfc/image2wbmp
2931
. The deprecated functions png2wbmp() and jpeg2wbmp() have been removed.
3032
RFC: https://wiki.php.net/rfc/deprecate-png-jpeg-2wbmp
3133

34+
- GMP:
35+
. gmp_random() has been removed. One of gmp_random_range() or
36+
gmp_random_bits() should be used instead.
37+
3238
- Intl:
3339
. The deprecated constant INTL_IDNA_VARIANT_2003 has been removed.
3440
RFC: https://wiki.php.net/rfc/deprecate-and-remove-intl_idna_variant_2003
3541

42+
- Mbstring:
43+
. The mbstring.func_overload directive has been removed. The related
44+
MB_OVERLOAD_MAIL, MB_OVERLOAD_STRING, and MB_OVERLOAD_REGEX constants have
45+
also been removed. Finally, the "func_overload" and "func_overload_list"
46+
entries in mb_get_info() have been removed.
47+
. mb_parse_str() can no longer be used without specifying a result array.
48+
49+
- Standard:
50+
. parse_str() can no longer be used without specifying a result array.
51+
3652
========================================
3753
2. New Features
3854
========================================

0 commit comments

Comments
 (0)