3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php <?php $string = "The quick blue fox jumped over the lazy dog."; $search = "blue"; $replace = "brown"; for($i = 0; $i < 1000; $i++) { echo str_replace($search, $replace, $string).PHP_EOL; }
Output for 5.3.0 - 5.4.19
Parse error: syntax error, unexpected '<' in /in/AAFOC on line 2
Process exited with code 255.