PHP str_repalce 无效 ??
$str = " aaa_bbb";
str_replace('_','',$str);
var_dump($str);
//结果
string ' aaa_bbb' (length=8)
请问 为啥没有替换???
推荐文章: