3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo '\';
Output for 5.4.0 - 5.6.28, 7.0.0 - 7.0.2, 7.0.4 - 7.0.11
Parse error: syntax error, unexpected ''\';' (T_ENCAPSED_AND_WHITESPACE) in /in/PUL6f on line 3
Process exited with code 255.
Output for 7.0.3

Process exited with code 137.
Output for hhvm-3.12.0 - 3.13.2
Fatal error: Uncaught Error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /in/PUL6f:3 Stack trace: #0 {main}
Process exited with code 255.
Output for hhvm-3.10.0
Fatal error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /in/PUL6f on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.29
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /in/PUL6f on line 3
Process exited with code 255.