rfc:deprecate_dollar_brace_string_interpolation

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_dollar_brace_string_interpolation [2022/03/31 13:18] ilutovrfc:deprecate_dollar_brace_string_interpolation [2022/05/05 08:17] (current) – Move to implemented ilutov
Line 3: Line 3:
   * Date: 2021-03-13   * Date: 2021-03-13
   * Author: Ilija Tovilo, tovilo.ilija@gmail.com   * Author: Ilija Tovilo, tovilo.ilija@gmail.com
-  * Status: Under discussion+  * Status: Implemented
   * Target Version: PHP 8.2   * Target Version: PHP 8.2
   * Implementation: https://github.com/php/php-src/pull/8212   * Implementation: https://github.com/php/php-src/pull/8212
Line 181: Line 181:
 ===== Comparison to other languages ===== ===== Comparison to other languages =====
  
-A number of other languages use ''%%${foo}%%'' style string interpolation, most notably bash and JavaScript (in template literals).  However, its behavior is different from that in PHP.  In PHP, that syntax means variable variables.  In JavaScript, it supports arbitrary expressions 2).  In its current form, options 3 and 4 are of limited use, and confusing for users from other nearby languages as they behaves quite differently.+A number of other languages use ''%%${foo}%%'' style string interpolation, most notably bash and JavaScript (in template literals).  However, its behavior is different from that in PHP.  In PHP, that syntax means variable variables.  In JavaScript, it supports arbitrary expressions 2).  In its current form, options 3 and 4 are of limited use, and confusing for users from other nearby languages as they behave quite differently.
  
 ====== Future scope ====== ====== Future scope ======
Line 195: Line 195:
 ===== Vote ===== ===== Vote =====
  
-Voting starts 2022-xx-and ends 2022-xx-xx+Voting starts 2022-04-08 and ends 2022-04-22
  
 As this is a language change, a 2/3 majority is required. As this is a language change, a 2/3 majority is required.
rfc/deprecate_dollar_brace_string_interpolation.1648732683.txt.gz · Last modified: 2022/03/31 13:18 by ilutov