3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo t if(print chr(72) and print chr(101) and print chr(108) and print chr(101) and print chr(111) and print chr(44) and print chr(101) and print chr(101) and print chr(101) and print chr(101) and print chr(101) ){} /*if (print chr(72)) if (print chr(101)) if (print chr(108)) if (print chr(111)) if (print chr(44)) if (print chr(32)) if (print chr(87)) if (print chr(111)) if (print chr(114)) if (print chr(108)) if (print chr(100)) if (print chr(33)) { }*/
Output for 5.4.0 - 5.4.26
Parse error: syntax error, unexpected 'if' (T_IF), expecting ',' or ';' in /in/5QO2h on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_IF, expecting ',' or ';' in /in/5QO2h on line 3
Process exited with code 255.