3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo str_ireplace("WORLD","Peter","Hello world!"); ?>
based on 7GJt0
Output for 5.3.21 - 7.2.0
Hello Peter!