rfc:deprecate-backtick-operator

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 [2018/02/11 20:06] wesnetmorfc:deprecate-backtick-operator [2018/02/11 20:59] (current) wesnetmo
Line 15: Line 15:
 ===== Proposal ===== ===== Proposal =====
  
-This RFC proposes to deprecate it in PHP 7.3 and suggest to use ''shell_exec()'' instead:+This RFC proposes to deprecate (by triggering one among E_DEPRECATED, E_STRICT or E_NOTICE) 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   * in case PHP decided in future to use backtick enclosed strings for Unicode strings
-  * because it is shady way to execute a rare and dangerous operation +  * because it is shady way to execute a rare and dangerous operation 
-  * because it is weirdly specific for a rare operation; regexp literals, xml-strings literals are way more common use cases, but they don't have a specific string literal+  * 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.1518379619.txt.gz · Last modified: 2018/02/11 20:06 by wesnetmo