我正在使用制作简单的Decrypter / Encrypter str_replace。但是我有一个问题。例如,代码是:$this->Text->text = str_replace("a", "b", $this->Text->text);
$this->Text->text = str_replace("b", "c", $this->Text->text);假设我们在中有文本“ ab” $this->Text->text。但是,当我运行代码时,它输出“ cc”。我需要它来输出“ bc”。有什么问题?
添加回答
举报
0/150
提交
取消