PHP 5.4.40 Released

join

(PHP 4, PHP 5)

joinSinônimo de implode()

Descrição

Esta função é um apelido para: implode().

add a note add a note

User Contributed Notes 2 notes

up
-21
mail+php at thorben-heins dot de
3 months ago
FYI: Interestingly join() has a better performance than implode().
up
-150
agarwalpiyush at hotmail dot com
1 year ago
$result  =  join(",", array(
                          "The WordPress Anthology",
                          "PHP Master: Write Cutting Edge Code",
                          "Build Your Own Website the Right Way"));

echo $result;

Result is :

The WordPress Anthology,PHP Master: Write Cutting Edge Code,Build Your Own Website the Right Way
To Top