3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php print_r 'foo';
Output for 5.4.0 - 5.4.15, 5.4.17 - 5.4.24
Parse error: syntax error, unexpected ''foo'' (T_CONSTANT_ENCAPSED_STRING) in /in/4pWIj on line 2
Process exited with code 255.
Output for 5.4.16
Could not open input file: /in/4pWIj
Process exited with code 1.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /in/4pWIj on line 2
Process exited with code 255.