php之str_replace具体解释时间:2024-01-08 21:35:50 str_replace (PHP 4, PHP 5) str_replace — Replace all occurrences of the search string with the replacement string Description mixed str_replace ( mixed $search , mixed $replace , mixed $subject [, int &$count ] ) This function returns a string or an array with all occurrences of search in subject replaced with the givenreplace value. If you don't need fancy replacing rules (like regular expressions), you should always use this function instead of posted @ 2017-07-20 10:51 zsychanpin 阅读(...) 评论(...) 编辑 收藏