rfc:class_properties_initialization

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
rfc:class_properties_initialization [2010/07/30 10:43] k.antczakrfc:class_properties_initialization [2010/07/30 10:44] k.antczak
Line 5: Line 5:
   * Status: In Draft   * Status: In Draft
   * First Published at: http://wiki.php.net/rfc/class_properties_initialization   * First Published at: http://wiki.php.net/rfc/class_properties_initialization
-  * Related RFC: [[rfc:annotations]], [[rfc:returntypehint]], [[rfc:enum]]+  * Related RFC: [[rfc:annotations]], [[rfc:returntypehint]]
  
 ===== Introduction ===== ===== Introduction =====
Line 47: Line 47:
 class Foo class Foo
 { {
-    private $var3 = time ();+    private $var1 = time ();
          
-    private httpRequest $var4 = getRequest ();+    private httpRequest $var2 = getRequest ();
 } }
 </code> </code>
rfc/class_properties_initialization.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1