3v4l.org

run code in 300+ PHP versions simultaneously
<?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.

preferences:
171.9 ms | 1399 KiB | 63 Q