collect([1, 2, 3, 4, 5])->implode('-'); // '1-2-3-4-5' /************** Or you can do ****************/ $arr = array('Hello','World!','Beautiful','Day!'); echo implode(" ",$arr); //Hello World! Beautiful Day!