<?php
$str = abchelloabc;
str_replace(['a','b','c'],'a',$str);//a或b或c都替换成a
str_replace(['a','b','c'],['d','e','f'],$str);//a->d b->e c->f
?>
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!