File tree Expand file tree Collapse file tree 1 file changed +28
-2
lines changed Expand file tree Collapse file tree 1 file changed +28
-2
lines changed Original file line number Diff line number Diff line change @@ -102,9 +102,35 @@ PHP 7.2 UPGRADE NOTES
102
102
4. Deprecated Functionality
103
103
========================================
104
104
105
+ All the deprecated functionality listed in the following will be removed in
106
+ PHP 8.0.
107
+
108
+ - Core:
109
+ . The trace_errors ini directive has been deprecated.
110
+ . The __autoload() mechanism has been deprecated, use spl_autoload_register()
111
+ instead.
112
+ . The (unset) cast has been deprecated. This does not affect the unset($var)
113
+ language construct.
114
+ . The create_function() function has been deprecated, use anonymous functions
115
+ instead.
116
+ . The each() function has been deprecated, use a foreach loop instead.
117
+
105
118
- GD:
106
- . png2wbmp() and jpeg2wbmp() have been deprecated, and will be removed as of
107
- PHP 8.0.0.
119
+ . png2wbmp() and jpeg2wbmp() have been deprecated.
120
+
121
+ - GMP:
122
+ . The gmp_random() function has been deprecated, use gmp_random_bits() or
123
+ gmp_random_range() instead.
124
+
125
+ - Mbstring:
126
+ . The mbstring.func_overload ini directive has been deprecated.
127
+
128
+ - Standard:
129
+ . Calling parse_str() without the result argument has been deprecated.
130
+ . Calling assert() with a string argument has been deprecated, use an ordinary
131
+ expression instead.
132
+
133
+ See also: https://wiki.php.net/rfc/deprecations_php_7_2
108
134
109
135
========================================
110
136
5. Changed Functions
You can’t perform that action at this time.
0 commit comments