3v4l.org

run code in 300+ PHP versions simultaneously
<?php if 5 <= "4" echo y; else echo n;
Output for 5.4.8 - 5.4.45, 5.5.24 - 5.5.29, 5.6.7 - 5.6.13
Parse error: syntax error, unexpected '5' (T_LNUMBER), expecting '(' in /in/OIogI on line 3
Process exited with code 255.

preferences:
179.79 ms | 1387 KiB | 57 Q