foreach 루프의 내부 흐름에서 객체 요소 의 하위 문자열을 변경할 수 있습니까? 그래서 나는 시도하지만 작동하지 않습니다.php str_replace 및 objects
$xml= '';
foreach ($objetcs as $object){
str_replace('searched','replacement', $object->link);
//then I would call a function to render my rss
$xml .=$object->renderRSS();
}