rfc:lexical-anon

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:lexical-anon [2016/04/20 06:51] krakjoerfc:lexical-anon [2017/09/22 13:28] (current) – external edit 127.0.0.1
Line 122: Line 122:
 The property reference must be well formed, and accessible in the lexical scope: The property reference must be well formed, and accessible in the lexical scope:
  
-''$object->property''+<code php> 
 +$object->property 
 +</code>
  
 A property name cannot be used twice: A property name cannot be used twice:
  
-''use($prop, $prop)''+<code php>use($prop, $prop)</code>
  
 and and
  
-''use($prop, $this->prop)''+<code php>use($prop, $this->prop)</code>
  
 Will both raise compile time errors: Will both raise compile time errors:
rfc/lexical-anon.1461135074.txt.gz · Last modified: 2017/09/22 13:28 (external edit)