rfc:deprecate-backtick-operator
This is an old revision of the document!
PHP RFC - Deprecate backtick operator
- Version: 42.0.0-epsilon
- Date: 2018-02-11
- Author: WesNetmo
- Status: Under Discussion
- First Published at: https://wiki.php.net/rfc/deprecate-backtick-operator
Introduction
The backtick operator (`dir D:\foo`
) is used to execute commands via shell. The same functionality is also available as shell_exec()
.
Proposal
This RFC proposes to deprecate it in PHP 7.3 and suggest to use shell_exec()
instead, in case PHP decided in future to use backtick enclosed strings for Unicode strings.
Backward Incompatible Changes
None.
Proposed PHP Version:
7.3
Voting
2/3 majority will be required.
References
rfc/deprecate-backtick-operator.1518378351.txt.gz · Last modified: 2025/04/03 13:08 (external edit)