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
Last revisionBoth sides next revision
rfc:lexical-anon [2016/04/20 06:51] krakjoerfc:lexical-anon [2016/04/20 06:52] krakjoe
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.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1