数组合并有关问题

WBOY
Release: 2016-06-13 12:43:45
Original
889 people have browsed it

数组合并问题
$act_arr = array(0=>'aaa',2=>'bbb');
我要变成下面的字符串
'aaa','bbb'
使用implode(',',$act_arr);
结果是aaa,bbb
怎么用快的方法,最好不要遍历,实现我要的效果。

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template