Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
rfc:deprecations_php_7_2 [2017/01/15 14:24] – Start voting nikic | rfc:deprecations_php_7_2 [2017/06/12 18:18] – nikic |
---|
* Date: 2015-12-28 | * Date: 2015-12-28 |
* Author: Nikita Popov <nikic@php.net> | * Author: Nikita Popov <nikic@php.net> |
* Status: Voting | * Status: Accepted |
* Discussion: http://markmail.org/message/axruwwohcjwxsjem | * Discussion: http://markmail.org/message/gto22ob4scfbk7ql |
* Originally published under: https://wiki.php.net/rfc/deprecations_php_7_1 | * Originally published under: https://wiki.php.net/rfc/deprecations_php_7_1 |
| |
Proposed action: A deprecation notice is thrown when a global function with name ''%%__autoload()%%'' is encountered during compilation. | Proposed action: A deprecation notice is thrown when a global function with name ''%%__autoload()%%'' is encountered during compilation. |
| |
<doodle title="Deprecate and subsequently remove __autoload" auth="nikic" voteType="single" closed="false"> | <doodle title="Deprecate and subsequently remove __autoload" auth="nikic" voteType="single" closed="true"> |
* Yes | * Yes |
* No | * No |
Proposed action: A deprecation notice is thrown if the ''track_errors'' ini setting is enabled. | Proposed action: A deprecation notice is thrown if the ''track_errors'' ini setting is enabled. |
| |
<doodle title="Deprecate and subsequently remove $php_errormsg" auth="nikic" voteType="single" closed="false"> | <doodle title="Deprecate and subsequently remove $php_errormsg" auth="nikic" voteType="single" closed="true"> |
* Yes | * Yes |
* No | * No |
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="Deprecate and subsequently remove create_function()" auth="nikic" voteType="single" closed="false"> | <doodle title="Deprecate and subsequently remove create_function()" auth="nikic" voteType="single" closed="true"> |
* Yes | * Yes |
* No | * No |
Tracking bug: [[https://bugs.php.net/bug.php?id=65785|#65785]] | Tracking bug: [[https://bugs.php.net/bug.php?id=65785|#65785]] |
| |
<doodle title="Deprecate and subsequently remove mbstring.func_overload" auth="nikic" voteType="single" closed="false"> | <doodle title="Deprecate and subsequently remove mbstring.func_overload" auth="nikic" voteType="single" closed="true"> |
* Yes | * Yes |
* No | * No |
Proposed action: Throw a deprecation notice if an ''(unset)'' cast is encountered by the compiler. No deprecation notice is thrown from the lexer or parser themselves (so that ''token_get_all'' continues working as is). | Proposed action: Throw a deprecation notice if an ''(unset)'' cast is encountered by the compiler. No deprecation notice is thrown from the lexer or parser themselves (so that ''token_get_all'' continues working as is). |
| |
<doodle title="Deprecate and subsequently remove (unset) cast" auth="nikic" voteType="single" closed="false"> | <doodle title="Deprecate and subsequently remove (unset) cast" auth="nikic" voteType="single" closed="true"> |
* Yes | * Yes |
* No | * No |
Proposed action: Throw a deprecation notice if the second argument of ''parse_str()'' is not used. | Proposed action: Throw a deprecation notice if the second argument of ''parse_str()'' is not used. |
| |
<doodle title="Deprecate and subsequently remove parse_str() without second argument" auth="nikic" voteType="single" closed="false"> | <doodle title="Deprecate and subsequently remove parse_str() without second argument" auth="nikic" voteType="single" closed="true"> |
* Yes | * Yes |
* No | * No |
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="Deprecate and subsequently remove gmp_random()" auth="nikic" voteType="single" closed="false"> | <doodle title="Deprecate and subsequently remove gmp_random()" auth="nikic" voteType="single" closed="true"> |
* Yes | * Yes |
* No | * No |
Proposed action: As ''each'' is typically called within loops, throwing a deprecation warning for every call is likely not advisable. Instead, throw a deprecation warning on the first call for any given request. | Proposed action: As ''each'' is typically called within loops, throwing a deprecation warning for every call is likely not advisable. Instead, throw a deprecation warning on the first call for any given request. |
| |
<doodle title="Deprecate and subsequently remove each()" auth="nikic" voteType="single" closed="false"> | <doodle title="Deprecate and subsequently remove each()" auth="nikic" voteType="single" closed="true"> |
* Yes | * Yes |
* No | * No |
Proposed action: Throw a deprecation notice if ''assert()'' is used with a string argument. The deprecation notice is only thrown if assertions are enabled (both zend.assertions and assert.active must be enabled). | Proposed action: Throw a deprecation notice if ''assert()'' is used with a string argument. The deprecation notice is only thrown if assertions are enabled (both zend.assertions and assert.active must be enabled). |
| |
<doodle title="Deprecate and subsequently remove assert() with string argument" auth="nikic" voteType="single" closed="false"> | <doodle title="Deprecate and subsequently remove assert() with string argument" auth="nikic" voteType="single" closed="true"> |
* Yes | * Yes |
* No | * No |
Proposed action: Throw deprecation notice if error handler has five or more arguments. Otherwise, do not pass the ''$errcontext''. This prevents circumvention with ''func_get_args()''. | Proposed action: Throw deprecation notice if error handler has five or more arguments. Otherwise, do not pass the ''$errcontext''. This prevents circumvention with ''func_get_args()''. |
| |
<doodle title="Deprecate and subsequently remove $errcontext argument of error handler" auth="nikic" voteType="single" closed="false"> | <doodle title="Deprecate and subsequently remove $errcontext argument of error handler" auth="nikic" voteType="single" closed="true"> |
* Yes | * Yes |
* No | * No |