时间:2021-07-01 10:21:17 帮助过:17人阅读
123345
$pattern = '/$pattern = '#str_replace('src="/','src="http://www.qq.com/',$text1);
str_replace('src="/','src="http://www.qq.com/',$text1);
用文本替换效率肯定没正则高吧?字符串替换要比正则至少快10倍
str_replace('src="/','src="http://www.qq.com/',$text1);
用文本替换效率肯定没正则高吧?