替换php字符串中的单引号为双引号的方法 实例如下:$param="{'id':'12','name':'hi'}";$new=preg_replace('/\"/','"',$param);以上这篇替换php字符串中 php替换双引号