3v4l.org

run code in 300+ PHP versions simultaneously
<?php define("Foo\true", 0); define("Foo\TRUE", 0); namespace Foo { var_dump(true, TRUE); }
Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.27
Fatal error: Namespace declaration statement has to be the very first statement in the script in /in/roPQc on line 6
Process exited with code 255.

preferences:
181.15 ms | 1387 KiB | 64 Q