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 revision Previous revision
Next revision
Previous revision
rfc:bare_name_array_literal [2014/06/28 21:25]
ajf Declined
rfc:bare_name_array_literal [2017/09/22 13:28] (current)
Line 119: Line 119:
  
 <code php> <code php>
-const('foo', ​'​bar'​);+const foo '​bar';​
 $arr = [foo: 3]; $arr = [foo: 3];
 // array(1) { // array(1) {
rfc/bare_name_array_literal.txt · Last modified: 2017/09/22 13:28 (external edit)