3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<html> <?php namespace Foo; define('Foo\\true', \false); define('Foo\\false', \true); var_dump( true, false, 1 === 1, 1 === 0 );
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.3.0 - 5.4.9
Fatal error: Namespace declaration statement has to be the very first statement in the script in /in/CHnnJ on line 4
Process exited with code 255.