rfc:deprecate-backtick-operator-v2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
rfc:deprecate-backtick-operator-v2 [2019/10/31 16:44] – Voting dates marandallrfc:deprecate-backtick-operator-v2 [2019/11/15 12:20] (current) marandall
Line 3: Line 3:
   * Date: 2019-10-04   * Date: 2019-10-04
   * Author: Mark Randall, marandall@php.net   * Author: Mark Randall, marandall@php.net
-  * Status: Voting+  * Status: Declined
   * First Published at:https://wiki.php.net/rfc/deprecate-backtick-operator-v2   * First Published at:https://wiki.php.net/rfc/deprecate-backtick-operator-v2
   * Target: 8.0   * Target: 8.0
Line 40: Line 40:
 Should the operator eventually be removed, there would be a BC break that would require code using it to be updated to reflect the alternative mechanisms documented in "Program Execution Functions", specifically shell_exec which is functionally identical.  Should the operator eventually be removed, there would be a BC break that would require code using it to be updated to reflect the alternative mechanisms documented in "Program Execution Functions", specifically shell_exec which is functionally identical. 
  
-For most cases, this should be an easy upgrade route as there is a 1-to-1 replacement between `expression` and shell_exec("expression"), and should complete removal eventually become viable, scripts are already available to migrate, such as CS-Fixer with the backtick_to_shell_exec flag, see https://github.com/FriendsOfPHP/PHP-CS-Fixer.+For most cases, this should be an easy upgrade route as there is a 1-to-1 replacement between `expression` and shell_exec("expression") (Note: As noted in arguments against, inline double quotes must be escaped), and should complete removal eventually become viable, scripts are already available to migrate, such as CS-Fixer with the backtick_to_shell_exec flag, see https://github.com/FriendsOfPHP/PHP-CS-Fixer.
  
 ===== Proposed PHP Version(s) ===== ===== Proposed PHP Version(s) =====
Line 56: Line 56:
 Voting started 2019-10-31 and will end 2019-11-15. A 2/3 majority is required. Voting started 2019-10-31 and will end 2019-11-15. A 2/3 majority is required.
  
-<doodle title="Deprecate backtick operator in PHP 8.0?" auth="marandall" voteType="single" closed="false">+<doodle title="Deprecate backtick operator in PHP 8.0?" auth="marandall" voteType="single" closed="true">
    * Yes    * Yes
    * No    * No
rfc/deprecate-backtick-operator-v2.1572540267.txt.gz · Last modified: 2019/10/31 16:44 by marandall