summaryrefslogtreecommitdiff
path: root/documentation
diff options
context:
space:
mode:
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