参考地址 https://stackoverflow.com/questions/1372737/how-to-insert-a-string-inside-another-string
$string = 'I am happy today.'; $replacement = 'very '; echo substr_replace($string, $replacement, 4, 0); // I am very happy today.
参考地址 https://stackoverflow.com/questions/1372737/how-to-insert-a-string-inside-another-string
$string = 'I am happy today.'; $replacement = 'very '; echo substr_replace($string, $replacement, 4, 0); // I am very happy today.