rfc:useas

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
Next revisionBoth sides next revision
rfc:useas [2012/04/12 15:28] laruencerfc:useas [2012/07/18 14:52] laruence
Line 14: Line 14:
   $foo = "bar";   $foo = "bar";
      
-  $func = function () ues ($foo as $dup, &$foo as $ref) { //alias name+  $func = function () use ($foo as $dup, &$foo as $ref) { //alias name
   };   };
      
Line 44: Line 44:
             var_dump($obj);             var_dump($obj);
         };         };
-    } 
- 
-    public function __toString() { 
- 
     }     }
 } }
Line 65: Line 61:
 I will be keeping improve this patch. I will be keeping improve this patch.
  
 +===== Voting===== 
 +<doodle  
 +title="Should this RFC be merged into trunk(5.5)?" auth="laruence" voteType="single" closed="False"> 
 +   * Yes 
 +   * No 
 +</doodle>
 ===== Patch ===== ===== Patch =====
  
Line 72: Line 73:
 ===== Changelog ===== ===== Changelog =====
    * 2012-04-12 Xinchen Hui Initial version    * 2012-04-12 Xinchen Hui Initial version
 +   * 2012-07-18 Xinchen Hui Open voting 
rfc/useas.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1