更新时间:2023-02-18 20:20:16
更新:我同意其他人的看法,以下是大多数人更易于阅读的替代方案:
Update: I'd agree with others that the following is an easier-to-read alternative for most folks:
$page = str_replace("'", '"', $page);
我原来的回答:
$page = str_replace(chr(39), chr(34), $page);