php str_replace替换指定次数的方法详解 实例把字符串"Helloworld!"中的字符"world"替换为"Shanghai":<?phpechostr_replace("world","Shanghai"," str_replace替换