rfc:shortsyntaxforfunctions

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:shortsyntaxforfunctions [2011/06/01 14:05] – [Changelog] tony2001rfc:shortsyntaxforfunctions [2011/06/01 15:07] – [Introduction] tony2001
Line 1: Line 1:
-====== Request for Comments: How to write RFCs ======+====== Request for Comments: Short syntax for functions ======
   * Version: 1.0   * Version: 1.0
   * Date: 2011-06-01   * Date: 2011-06-01
Line 8: Line 8:
  
  
-This RFC is a parody on shortsyntaxforarrays RFC.+This RFC is a parody on [[https://wiki.php.net/rfc/shortsyntaxforarrays | shortsyntaxforarrays RFC]].
  
 ===== Introduction ===== ===== Introduction =====
Line 15: Line 15:
 The purpose of RFCs are to work collaboratively towards a specification and finally an implementation of an idea. The purpose of RFCs are to work collaboratively towards a specification and finally an implementation of an idea.
  
-Example code: 
- 
-<code php> 
-function some_long_function_name($array_parameter_omg, $some_more) 
-{ 
- --here_be_dragons-- 
-} 
-</code> 
- 
-New short non-ugly easily readable example code: 
- 
-<code php> 
-. .[., .]. 
-. 
- --...._.._......-- 
-. 
-</code> 
 ===== Syntax ===== ===== Syntax =====
  
Line 40: Line 23:
  
 No patch is available yet. I'm working on it, though. No patch is available yet. I'm working on it, though.
 +
 +This functionality is already available with Prep: https://github.com/andreiz/prep/tree/master/examples/whitespace
  
 ===== Changelog ===== ===== Changelog =====
rfc/shortsyntaxforfunctions.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1