rfc:deprecations_php_7_1
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
rfc:deprecations_php_7_1 [2016/10/29 16:00] – Add each() nikic | rfc:deprecations_php_7_1 [2016/10/29 16:21] – nikic | ||
---|---|---|---|
Line 20: | Line 20: | ||
* '' | * '' | ||
* '' | * '' | ||
+ | * '' | ||
+ | * '' | ||
===== Proposal ===== | ===== Proposal ===== | ||
Line 99: | Line 101: | ||
Proposed action: As '' | Proposed action: As '' | ||
+ | |||
+ | ==== assert() with string argument ==== | ||
+ | |||
+ | The '' | ||
+ | |||
+ | The reason for this behavior is that prior to PHP 7 this was the only way to prevent the assertion expression from evaluating. As of PHP 7, the '' | ||
+ | |||
+ | This behavior of '' | ||
+ | |||
+ | Proposed action: Throw a deprecation notice if '' | ||
+ | |||
+ | ==== $errcontext argument of error handler ==== | ||
+ | |||
+ | Error handlers set with '' | ||
+ | |||
+ | This functionality is problematic for optimization, | ||
+ | |||
+ | Proposed action: Throw deprecation notice if error handler has five or more arguments. Otherwise, do not pass the '' | ||
===== Backward Incompatible Changes ===== | ===== Backward Incompatible Changes ===== | ||
Line 126: | Line 146: | ||
* Second argument to '' | * Second argument to '' | ||
* The ticks mechanism, which is obsoleted by async signal handling. | * The ticks mechanism, which is obsoleted by async signal handling. | ||
- | * '' | ||
===== Rejected deprecations ===== | ===== Rejected deprecations ===== |
rfc/deprecations_php_7_1.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1