rfc:deprecate-backtick-operator
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
rfc:deprecate-backtick-operator [2018/02/11 19:45] – wesnetmo | rfc:deprecate-backtick-operator [2018/02/11 20:59] (current) – wesnetmo | ||
---|---|---|---|
Line 9: | Line 9: | ||
===== Introduction ===== | ===== Introduction ===== | ||
- | The backtick operator ('' | + | The backtick operator ('' |
+ | |||
+ | The same functionality is also available as '' | ||
===== Proposal ===== | ===== Proposal ===== | ||
- | This RFC proposes to deprecate it in PHP 7.3 and suggest to use '' | + | This RFC proposes to deprecate |
+ | |||
+ | * in case PHP decided in future to use backtick enclosed strings for Unicode strings | ||
+ | * because it is a shady way to execute a rare and dangerous operation | ||
+ | * because it is weirdly specific to a rare operation; regexp literals, xml-strings literals are way more common use cases, but they don't have a specific string literal | ||
===== Backward Incompatible Changes ===== | ===== Backward Incompatible Changes ===== | ||
- | None. | + | None, the feature will continue to work until it is removed in future PHP versions, but a notice will be emitted. |
===== Proposed PHP Version: ===== | ===== Proposed PHP Version: ===== |
rfc/deprecate-backtick-operator.1518378351.txt.gz · Last modified: 2018/02/11 19:45 by wesnetmo