3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php  $my_str = 'The quick brown fox jumps over the lazy dog';  echo str_replace("fox", "", $my_str);  ?>
based on 3SWjG
Output for 5.4.0 - 5.4.31
Parse error: syntax error, unexpected '$my_str ' (T_VARIABLE) in /in/GRE7d on line 1
Process exited with code 255.