rfc:deprecations_php_7_2
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
rfc:deprecations_php_7_2 [2017/01/15 14:14] – nikic | rfc:deprecations_php_7_2 [2017/09/22 13:28] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 2: | Line 2: | ||
* Date: 2015-12-28 | * Date: 2015-12-28 | ||
* Author: Nikita Popov < | * Author: Nikita Popov < | ||
- | * Status: | + | * Status: |
- | * Discussion: http:// | + | * Discussion: http:// |
* Originally published under: https:// | * Originally published under: https:// | ||
Line 24: | Line 24: | ||
===== Proposal ===== | ===== Proposal ===== | ||
+ | |||
+ | Each feature proposed for deprecation is voted separately. Each vote requires a 2/3 majority, independently of whether it is a language or standard library change. All votes refer to deprecation in PHP 7.2 and removal in the next major version (presumably PHP 8.0). | ||
==== __autoload ==== | ==== __autoload ==== | ||
Line 30: | Line 32: | ||
Proposed action: A deprecation notice is thrown when a global function with name '' | Proposed action: A deprecation notice is thrown when a global function with name '' | ||
+ | |||
+ | <doodle title=" | ||
+ | * Yes | ||
+ | * No | ||
+ | </ | ||
==== $php_errormsg ==== | ==== $php_errormsg ==== | ||
Line 38: | Line 45: | ||
Proposed action: A deprecation notice is thrown if the '' | Proposed action: A deprecation notice is thrown if the '' | ||
+ | |||
+ | <doodle title=" | ||
+ | * Yes | ||
+ | * No | ||
+ | </ | ||
==== create_function() ==== | ==== create_function() ==== | ||
Line 46: | Line 58: | ||
Proposed action: Mark the function as deprecated, thus issuing a deprecation notice on every call. | Proposed action: Mark the function as deprecated, thus issuing a deprecation notice on every call. | ||
+ | |||
+ | <doodle title=" | ||
+ | * Yes | ||
+ | * No | ||
+ | </ | ||
==== mbstring.func_overload ==== | ==== mbstring.func_overload ==== | ||
Line 58: | Line 75: | ||
Tracking bug: [[https:// | Tracking bug: [[https:// | ||
+ | |||
+ | <doodle title=" | ||
+ | * Yes | ||
+ | * No | ||
+ | </ | ||
==== (unset) cast ==== | ==== (unset) cast ==== | ||
Line 64: | Line 86: | ||
Proposed action: Throw a deprecation notice if an '' | Proposed action: Throw a deprecation notice if an '' | ||
+ | |||
+ | <doodle title=" | ||
+ | * Yes | ||
+ | * No | ||
+ | </ | ||
==== parse_str() without second argument ==== | ==== parse_str() without second argument ==== | ||
Line 72: | Line 99: | ||
Proposed action: Throw a deprecation notice if the second argument of '' | Proposed action: Throw a deprecation notice if the second argument of '' | ||
+ | |||
+ | <doodle title=" | ||
+ | * Yes | ||
+ | * No | ||
+ | </ | ||
==== gmp_random() ==== | ==== gmp_random() ==== | ||
Line 80: | Line 112: | ||
Proposed action: Mark the function as deprecated, thus issuing a deprecation notice on every call. | Proposed action: Mark the function as deprecated, thus issuing a deprecation notice on every call. | ||
+ | |||
+ | <doodle title=" | ||
+ | * Yes | ||
+ | * No | ||
+ | </ | ||
==== each() ==== | ==== each() ==== | ||
Line 95: | Line 132: | ||
Proposed action: As '' | Proposed action: As '' | ||
+ | |||
+ | <doodle title=" | ||
+ | * Yes | ||
+ | * No | ||
+ | </ | ||
==== assert() with string argument ==== | ==== assert() with string argument ==== | ||
Line 105: | Line 147: | ||
Proposed action: Throw a deprecation notice if '' | Proposed action: Throw a deprecation notice if '' | ||
+ | |||
+ | <doodle title=" | ||
+ | * Yes | ||
+ | * No | ||
+ | </ | ||
==== $errcontext argument of error handler ==== | ==== $errcontext argument of error handler ==== | ||
Line 115: | Line 162: | ||
Proposed action: Throw deprecation notice if error handler has five or more arguments. Otherwise, do not pass the '' | Proposed action: Throw deprecation notice if error handler has five or more arguments. Otherwise, do not pass the '' | ||
+ | |||
+ | **Update:** Due to technical issues, this does not throw a deprecation warning. It is a documentation-only deprecation. | ||
+ | |||
+ | <doodle title=" | ||
+ | * Yes | ||
+ | * No | ||
+ | </ | ||
==== (binary) cast and b"" | ==== (binary) cast and b"" |
rfc/deprecations_php_7_2.1484489642.txt.gz · Last modified: 2017/09/22 13:28 (external edit)