3v4l.org

run code in 300+ PHP versions simultaneously
<?php define("NULL", true); if (NULL === null) { echo "null"; } else { echo "huh?" }
Output for 5.3.0 - 5.3.18, 5.4.0 - 5.4.8
Parse error: syntax error, unexpected '}', expecting ',' or ';' in AJdQj on line 9
Process exited with code 255.

preferences:
167.3 ms | 1395 KiB | 35 Q