summaryrefslogtreecommitdiff
path: root/documentation
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2015-01-16 14:13:47 +0100
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2015-01-16 14:13:47 +0100
commit821e65d876cc0ce2b32471791b02d9f7cc784c99 (patch)
tree409ed556b66df94fc7d0e3fbb75805b696639ae0 /documentation
parentaec1c309255840456046bdf2b75277d9f8c08638 (diff)
fixed typos in lambda function documentation
Diffstat (limited to 'documentation')
-rw-r--r--documentation/lambda-functions.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/documentation/lambda-functions.html b/documentation/lambda-functions.html
index 8014b2a..9278234 100644
--- a/documentation/lambda-functions.html
+++ b/documentation/lambda-functions.html
@@ -14,7 +14,7 @@
directly to a function).
</p>
<p>
-<pre class="language-php"><code>&lt;php
+<pre class="language-php"><code>&lt;?php
// anonymous PHP function stored in the variable $f
$f = function($a, $b) {
@@ -100,7 +100,7 @@ extern "C" {
PHP array_map() function:
</p>
<p>
-<pre class="language-php"><code>&lt;php
+<pre class="language-php"><code>&lt;?php
// function that iterates over an array, and calls a function on every
// element in that array, it returns a new array with every item
// replaced by the result of the callback