我正在使用制作簡單的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
提交
取消