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