3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo str_replace("frop","frml","frop",1);
based on 2kakZ
Output for 5.0.0 - 5.4.32
Fatal error: Only variables can be passed by reference in /in/tTHuP on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.9
Warning: Wrong parameter count for str_replace() in /in/tTHuP on line 3
Output for 4.3.0 - 4.3.1
frml