$a = array(2,3,4); 数组$a如何 转变为结果为‘2’,‘3’,‘4’ 的字符串, 谢谢! 回复讨论(解决方案) $a = array(2,3,4);foreach($a as &$v) $v = "'$v'";print_r($a); $a = array(2,3,4);$s = "'" . join("','", $a) . "'";echo $s;'2','3','4'