php string join code example
Example 1: php array join
$arr = array('Hello','World!','Beautiful','Day!');
echo join(", ",$arr);
Example 2: join array of strings php
$arr = array('Hello','World!','Beautiful','Day!');
echo join(",",$arr);
Example 3: join string php
<?php
$arr = array('Hello','World!','Beautiful','Day!');
echo join(" ",$arr);
?>