rfc:shorter_attribute_syntax

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
rfc:shorter_attribute_syntax [2020/07/02 00:01]
theodorejb Close voting
rfc:shorter_attribute_syntax [2020/08/12 15:56]
theodorejb Update nested syntax for #[] - I think this was a relic of the idea to strip all leading hashes
Line 2: Line 2:
   * Date: 2020-06-03   * Date: 2020-06-03
   * Author: Theodore Brown <theodorejb@outlook.com>, Martin Schröder   * Author: Theodore Brown <theodorejb@outlook.com>, Martin Schröder
-  * Status: Accepted+  * Status: Implemented
   * Discussion: https://externals.io/message/110355   * Discussion: https://externals.io/message/110355
   * Target Version: PHP 8.0   * Target Version: PHP 8.0
-  * Implementation for ''@@'': https://github.com/koolkode/php-src/pull/+  * Implementation: https://github.com/php/php-src/pull/5796
-  * Implementation for ''#[]'': https://github.com/koolkode/php-src/pull/5+
  
 ===== Introduction ===== ===== Introduction =====
Line 199: Line 198:
     #[JoinTable(     #[JoinTable(
         "User_Group",         "User_Group",
-        #JoinColumn("User_id", "id"), +        #[JoinColumn("User_id", "id")]
-        #JoinColumn("Group_id", "id"),+        #[JoinColumn("Group_id", "id")],
     )]     )]
     private $groups;     private $groups;
rfc/shorter_attribute_syntax.txt · Last modified: 2020/08/12 15:56 by theodorejb