1 次元配列を組み合わせる方法
array("Hello", "Here", "Great", "Settings", "Help", "Others", "Answer")
3 つの要素を 1 つに結合します
array("こんにちは、ここは素晴らしいです", "他の人を助けるために設定します", "回答")
------解決策------ - ----
$ar = array("你好","这里","太好了","设置","帮助","他人","答案");<br /> foreach(array_chunk($ar, 3) as $v) $r[] = join('', $v);<br /> print_r($r);
Array<br /> (<br /> [0] => 你好这里太好了<br /> [1] => 设置帮助他人<br /> [2] => 答案<br /> )<br />