3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php // a VERY evil line of code namespace a { define('t', true, true); define('a\\true', false, t); define('a\\false', t, t); } $a = true; var_dump($a); $b = false; var_dump($b);
Output for 5.3.0 - 5.4.24
Fatal error: No code may exist outside of namespace {} in /in/5NhTE on line 7
Process exited with code 255.