implode

implode -- Join array elements with a string

Description

string implode ( string glue, array pieces)

דוגמה 1 . implode( ) example

 
$colon_separated

 
=

 
implode(

 
"

 
:"

 
,

 
$array)

 
;





הערה: implode() can, for historical reasons, accept its parameters in either order.

See also explode( ) , join( ) , and split( ) .