3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $sub="happy"; $ser="a"; $rep="i"; echo str_replace($ser,$rep,$sub);
Output for 4.3.0 - 7.1.0
hippy