Run ❯
Get your
own PHP
server
Result Size:
625 x 565
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
<!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> </html>
Search the string "Hello good world!", find the value "WORLD" and replace it with "Peter":
Hello good Peter!