summaryrefslogtreecommitdiff
path: root/ext/standard/tests/strings/join_basic.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/strings/join_basic.phpt')
-rw-r--r--ext/standard/tests/strings/join_basic.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/tests/strings/join_basic.phpt b/ext/standard/tests/strings/join_basic.phpt
index 8e8c554ee9..129f75bc79 100644
--- a/ext/standard/tests/strings/join_basic.phpt
+++ b/ext/standard/tests/strings/join_basic.phpt
@@ -16,12 +16,12 @@ $glue = ", "; // multiple car as glue
$pieces = array("Red", "Green", "Blue", "Black", "White");
var_dump( join($glue, $pieces) );
-// pices as associative array (numeric values)
+// pieces as associative array (numeric values)
$pieces = array("Hour" => 10, "Minute" => 20, "Second" => 40);
$glue = ':';
var_dump( join($glue, $pieces) );
-// pices as associative array (string/numeric values)
+// pieces as associative array (string/numeric values)
$pieces = array("Day" => 'Friday', "Month" => "September", "Year" => 2007);
$glue = '/';
var_dump( join($glue, $pieces) );