com php-src: Add UPGRADING notes for deprecations: UPGRADING
| From: | Nikita Popov | Date: | Fri, 03 Feb 2017 20:02:52 +0000 |
| Subject: | com php-src: Add UPGRADING notes for deprecations: UPGRADING | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-97010@lists.php.net to get a copy of this message | ||
Commit: 0ecffc8af6bcf6e33e26df1ff6478b838b4bb98b
Author: Nikita Popov <nikita.ppv@gmail.com> Fri, 3 Feb 2017 19:00:26 +0100
Parents: 06a034016280435feb80eea4d674ca5688ab4c06
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=0ecffc8af6bcf6e33e26df1ff6478b838b4bb98b
Log:
Add UPGRADING notes for deprecations
Changed paths:
M UPGRADING
Diff:
diff --git a/UPGRADING b/UPGRADING
index e7a428a..3876962 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -102,9 +102,35 @@ PHP 7.2 UPGRADE NOTES
4. Deprecated Functionality
========================================
+All the deprecated functionality listed in the following will be removed in
+PHP 8.0.
+
+- Core:
+ . The trace_errors ini directive has been deprecated..
+ . The __autoload() mechanism has been deprecated, use spl_autoload_register()
+ instead.
+ . The (unset) cast has been deprecated. This does not affect the unset($var)
+ language construct.
+ . The create_function() function has been deprecated, use anonymous functions
+ instead.
+ . The each() function has been deprecated, use a foreach loop instead.
+
- GD:
- . png2wbmp() and jpeg2wbmp() have been deprecated, and will be removed as of
- PHP 8.0.0.
+ . png2wbmp() and jpeg2wbmp() have been deprecated.
+
+- GMP:
+ . The gmp_random() function has been deprecated, use gmp_random_bits() or
+ gmp_random_range() instead.
+
+- Mbstring:
+ . The mbstring.func_overload ini directive has been deprecated.
+
+- Standard:
+ . Calling parse_str() without the result argument has been deprecated.
+ . Calling assert() with a string argument has been deprecated, use an ordinary
+ expression instead.
+
+See also: https://wiki.php.net/rfc/deprecations_php_7_2
========================================
5. Changed Functions