rfc:alternative-closure-use-syntax

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
Last revision Both sides next revision
rfc:alternative-closure-use-syntax [2019/06/15 21:47]
wesnetmo
rfc:alternative-closure-use-syntax [2019/06/15 21:57]
wesnetmo
Line 77: Line 77:
     ): ReturnType {     ): ReturnType {
         use $importVariable1,​ &​$importVariable2,​ $importVariable3,​ &​$importVariable4;​         use $importVariable1,​ &​$importVariable2,​ $importVariable3,​ &​$importVariable4;​
 +        ​
 +        // ...
     };     };
  
Line 89: Line 91:
         use $importVariable1,​ &​$importVariable2;​         use $importVariable1,​ &​$importVariable2;​
         use $importVariable3,​ &​$importVariable4;​         use $importVariable3,​ &​$importVariable4;​
 +        ​
 +        // ...
     };     };
 </​PHP>​ </​PHP>​
Line 106: Line 110:
         echo 123;         echo 123;
         use $importVariable3,​ &​$importVariable4;​         use $importVariable3,​ &​$importVariable4;​
-        // ^ syntax error, as use can only be preceded by other use statements+        // ^ syntax error, as "use" ​can only be preceded by other "use" ​statements
     };     };
 </​PHP>​ </​PHP>​
Line 126: Line 130:
  
 Vote will require 2/3 majority Vote will require 2/3 majority
- 
-===== References ===== 
- 
-  * abc 
-  * def 
- 
rfc/alternative-closure-use-syntax.txt · Last modified: 2019/06/16 12:03 by wesnetmo