mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fix typo 'pices' in strings/join_basic.phpt
Closes GH-6519.
This commit is contained in:
parent
c18b1aea28
commit
003d9ba125
1 changed files with 2 additions and 2 deletions
|
@ -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) );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue