com php-spec: Replacing ''' by ```: spec/php-spec-draft.md
| From: | Hannes Magnusson | Date: | Wed, 30 Jul 2014 19:52:39 +0000 |
| Subject: | com php-spec: Replacing ''' by ```: spec/php-spec-draft.md | ||
| Groups: | php.standards | ||
| Request: | Send a blank email to standards-+get-139@lists.php.net to get a copy of this message | ||
Commit: 70c1777fa3e69484f3cb34c3959ae6934ea74f66
Author: Christopher Chedeau <vjeuxx@gmail.com> Wed, 30 Jul 2014 21:52:39 +0200
Parents: da8e26b69a0845b78d27a88b43c2400fc7c6ff60
Branches: master
Link: http://git.php.net/?p=php-spec.git;a=commitdiff;h=70c1777fa3e69484f3cb34c3959ae6934ea74f66
Log:
Replacing ''' by ```
Otherwise the code is all mangled in one line
Changed paths:
M spec/php-spec-draft.md
Diff:
diff --git a/spec/php-spec-draft.md b/spec/php-spec-draft.md
index ae61aa9..d617189 100644
--- a/spec/php-spec-draft.md
+++ b/spec/php-spec-draft.md
@@ -4367,7 +4367,7 @@ If *postfix-expression* is a string, this is a variable function call
**Examples**
-'''
+```
function square($v) { return $v * $v; }
square(5) // call square directly; it returns 25
$funct = square; // assigns the string "square" to $funct
@@ -4398,7 +4398,7 @@ function factorial($int) // contains a recursive call
// -----------------------------------------
$anon = function () { ... }; // store a Closure in $anon
$anon(); // call the anonymous function encapsulated by that object
-'''
+```
###Member-Selection Operator