替换php字符串中的单引号为双引号的方法
2017年04月02日
实例如下:
$param = "{'id':'12', 'name':'hi'}"; $new = preg_replace('/\"/', '"', $param);相关阅读