krot

array_reduce implode

Mar 2nd, 2018
82
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $result=array_reduce($this->aa['text'],function ($carry , $item){
  2.                 return ($carry)?$carry.', '.$item['v']:$item['v'];
  3.             });
RAW Paste Data