From 1dfde8bc2296ea72a286ef2b41e2e3206bd7d2c9 Mon Sep 17 00:00:00 2001 From: KsaR Date: Fri, 21 Nov 2025 05:14:13 +0100 Subject: [PATCH] Update functional.xml Fixes "Parse error: syntax error, unexpected token "<", expecting end of file" --- language/operators/functional.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/language/operators/functional.xml b/language/operators/functional.xml index c58f3dfe7a05..e44fa25d1faf 100644 --- a/language/operators/functional.xml +++ b/language/operators/functional.xml @@ -48,7 +48,7 @@ $result = "PHP Rocks" |> (fn($x) => array_map(strtoupper(...), $x)) |> (fn($x) => array_filter($x, fn($v) => $v != 'O')) ; -echo $result, PHP_EOL; +print_r($result); $temp = "PHP Rocks"; $temp = htmlentities($temp); @@ -56,7 +56,7 @@ $temp = str_split($temp); $temp = array_map(strtoupper(...), $temp); $temp = array_filter($temp, fn($v) => $v != 'O'); $result = $temp; -echo $result, PHP_EOL; +print_r($result); ?> ]]>