rfc:deprecate_curly_braces_array_access

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
Last revisionBoth sides next revision
rfc:deprecate_curly_braces_array_access [2019/07/03 20:00] – Simplify wording theodorejbrfc:deprecate_curly_braces_array_access [2019/07/19 15:30] – Add link to voting discussion thread theodorejb
Line 2: Line 2:
   * Date: 2019-03-12   * Date: 2019-03-12
   * Author: Andrey Gromov <andrewgrom@rambler.ru>, Theodore Brown <theodorejb@outlook.com>   * Author: Andrey Gromov <andrewgrom@rambler.ru>, Theodore Brown <theodorejb@outlook.com>
-  * Status: Voting+  * Status: Implemented (in PHP 7.4)
   * Discussion: https://externals.io/message/104744   * Discussion: https://externals.io/message/104744
   * Target version: PHP 7.4   * Target version: PHP 7.4
-  * Implementation: https://github.com/php/php-src/compare/PHP-7.4...rjhdby:deprecate_alternate_array_access+  * Implementation: https://github.com/php/php-src/pull/4416
  
 ===== Introduction ===== ===== Introduction =====
Line 67: Line 67:
  
 <code> <code>
-Warning: Array and string offset access syntax with curly braces is deprecated in test.php on line 3+Deprecated: Array and string offset access syntax with curly braces is deprecated in test.php line 3
 int(2) int(2)
 </code> </code>
Line 105: Line 105:
 ==== Will it be too much work for people to migrate code away from the curly brace syntax? ==== ==== Will it be too much work for people to migrate code away from the curly brace syntax? ====
 A migration script has been implemented alongside the deprecation patch: A migration script has been implemented alongside the deprecation patch:
-https://github.com/rjhdby/php-src/blob/deprecate_alternate_array_access/convert_array_access_braces.php+https://gist.github.com/theodorejb/763b83a43522b0fc1755a537663b1863
  
  
Line 114: Line 114:
 ===== Vote ===== ===== Vote =====
 Started 3 July 2019. Ends 17th July 2019 Started 3 July 2019. Ends 17th July 2019
-<doodle title="Deprecate curly brace array and string offset syntax in PHP 7.4" auth="rjhdby" voteType="single" closed="false">+<doodle title="Deprecate curly brace array and string offset syntax in PHP 7.4" auth="rjhdby" voteType="single" closed="true">
    * Yes    * Yes
    * No    * No
Line 124: Line 124:
  
 ===== References ===== ===== References =====
-Current discussion: https://externals.io/message/104744.+Current discussion: https://externals.io/message/104744 and https://externals.io/message/106130.
  
 Discussion about deprecation in June 2008: https://externals.io/message/38153. Discussion about deprecation in June 2008: https://externals.io/message/38153.
rfc/deprecate_curly_braces_array_access.txt · Last modified: 2019/08/10 23:19 by derick