配列で文字列置換を実行しようとしています。
私は持っている..
str_replace('texts', 'testssssss', $test->html);
$test->html
リターン_
すべてのテキストをtestssssssに置き換えたい..
key 1
<div>
<a href='texts.company.name.html'>test</a>
</div>
Key 2
<div>
other html...
</div>
Key 3
<div>
other html...
</div>
Key 4
<div>
<a href='texts.department.name.html'>department</a>
</div>
more...
助けてくれてありがとう!