Result Size: 625 x 571
x
 
<!DOCTYPE html>
<html>
<body>
<p>Search the string "Hello good world!", find the value "WORLD" and replace it with "Peter":</p>
<?php
echo str_ireplace("WORLD","Peter","Hello good world!");
?>
</body>
<!-- Mirrored from www.w3schools.com/php/phptryit.asp?filename=tryphp_func_string_str_ireplace by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 27 Jan 2020 02:51:06 GMT -->
</html>
×

Report a Problem: