rfc:bare_name_array_literal

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:bare_name_array_literal [2014/06/21 20:27] – More examples! ajfrfc:bare_name_array_literal [2017/09/22 13:28] (current) – external edit 127.0.0.1
Line 3: Line 3:
   * Date: 2014-06-01   * Date: 2014-06-01
   * Author: Andrea Faulds <ajf@ajf.me>   * Author: Andrea Faulds <ajf@ajf.me>
-  * Status: Under Discussion+  * Status: Declined
   * First Published at: http://wiki.php.net/rfc/bare_name_array_literal   * First Published at: http://wiki.php.net/rfc/bare_name_array_literal
  
Line 74: Line 74:
  
 <code php> <code php>
-$ctx = stream_context_create([http: [method: "GET", header: "Accept-language: en" user_agent: 'Foo-Bot', protocol_version: 1.1]]);+$ctx = stream_context_create([http: [method: "GET", header: "Accept-language: en"user_agent: 'Foo-Bot', protocol_version: 1.1]]);
  
 // or // or
Line 119: Line 119:
  
 <code php> <code php>
-const('foo', 'bar');+const foo 'bar';
 $arr = [foo: 3]; $arr = [foo: 3];
 // array(1) { // array(1) {
Line 164: Line 164:
 ===== Vote ===== ===== Vote =====
  
-A 2/3 majority as it is a language change. Voting began on 2014-06-21 (after a hiccup it was restarted) and ends 2014-06-28.  +A 2/3 majority as it is a language change. Voting began on 2014-06-21 (after a hiccup it was restarted) and ended 2014-06-28.  
-<doodle title="Merge bare name array literal into master/PHP 5.7?" auth=ajf" voteType="single" closed="false">+<doodle title="Merge bare name array literal into master/PHP 5.7?" auth="user" voteType="single" closed="true">
    * Yes    * Yes
    * No    * No
rfc/bare_name_array_literal.1403382423.txt.gz · Last modified: 2017/09/22 13:28 (external edit)