summaryrefslogtreecommitdiff
path: root/ext/standard/tests/array/bug40709.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/array/bug40709.phpt')
-rw-r--r--ext/standard/tests/array/bug40709.phpt10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/standard/tests/array/bug40709.phpt b/ext/standard/tests/array/bug40709.phpt
index eb0c712000..7e132ba3d4 100644
--- a/ext/standard/tests/array/bug40709.phpt
+++ b/ext/standard/tests/array/bug40709.phpt
@@ -2,7 +2,7 @@
Bug #40709 (array_reduce() behaves strange with one item stored arrays)
--FILE--
<?php
-function CommaSeperatedList($a, $b) {
+function CommaSeparatedList($a, $b) {
if($a == null)
return $b;
else
@@ -12,10 +12,10 @@ function CommaSeperatedList($a, $b) {
$arr1 = array(1,2,3);
$arr2 = array(1);
-echo "result for arr1: ".array_reduce($arr1,'CommaSeperatedList')."\n";
-echo "result for arr2: ".array_reduce($arr2,'CommaSeperatedList')."\n";
-echo "result for arr1: ".array_reduce($arr1,'CommaSeperatedList')."\n";
-echo "result for arr2: ".array_reduce($arr2,'CommaSeperatedList')."\n";
+echo "result for arr1: ".array_reduce($arr1,'CommaSeparatedList')."\n";
+echo "result for arr2: ".array_reduce($arr2,'CommaSeparatedList')."\n";
+echo "result for arr1: ".array_reduce($arr1,'CommaSeparatedList')."\n";
+echo "result for arr2: ".array_reduce($arr2,'CommaSeparatedList')."\n";
echo "Done\n";
?>