Source Code:
(back to article)
<?php $string = "The quick brown fox jumps over the lazy dog"; $new_string = str_ireplace("FOX", "cat", $string); echo $new_string; // Output: The quick brown cat jumps over the lazy dog ?>
Result:
Report an issue