From: Nikita Popov Date: Mon, 28 Jan 2019 15:05:02 +0000 (+0100) Subject: Add UPGRADING entries for removed functionality X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=97df99a6d7d96a886ac143337fecad775907589a;p=php Add UPGRADING entries for removed functionality --- diff --git a/UPGRADING b/UPGRADING index 448466ef0e..ca9a13429d 100644 --- a/UPGRADING +++ b/UPGRADING @@ -21,7 +21,9 @@ PHP 8.0 UPGRADE NOTES ======================================== - Core: - . TBD + . Removed track_errors ini directive. This means that $php_errormsg is no + longer available. The error_get_last() function may be used instead. + . Removed create_function(). Anonymous functions may be used instead. - GD: . The deprecated function image2wbmp() has been removed. @@ -29,10 +31,24 @@ PHP 8.0 UPGRADE NOTES . The deprecated functions png2wbmp() and jpeg2wbmp() have been removed. RFC: https://wiki.php.net/rfc/deprecate-png-jpeg-2wbmp +- GMP: + . gmp_random() has been removed. One of gmp_random_range() or + gmp_random_bits() should be used instead. + - Intl: . The deprecated constant INTL_IDNA_VARIANT_2003 has been removed. RFC: https://wiki.php.net/rfc/deprecate-and-remove-intl_idna_variant_2003 +- Mbstring: + . The mbstring.func_overload directive has been removed. The related + MB_OVERLOAD_MAIL, MB_OVERLOAD_STRING, and MB_OVERLOAD_REGEX constants have + also been removed. Finally, the "func_overload" and "func_overload_list" + entries in mb_get_info() have been removed. + . mb_parse_str() can no longer be used without specifying a result array. + +- Standard: + . parse_str() can no longer be used without specifying a result array. + ======================================== 2. New Features ========================================