3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $original_string = 'The brown fox'; $string_to_insert ='quick';<br>$insert_pos = 4; $new_string = substr_replace($original_string, $string_to_insert.' ', $insert_pos, 0); echo $new_string; ?>
Output for 5.3.0 - 5.4.29
Parse error: syntax error, unexpected '<' in /in/tEThD on line 3
Process exited with code 255.