3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php namespace a { const true = false; const false = true; } namespace { use const a\true; use const a\false; var_dump(true); }
Output for hhvm-3.10.0 - 3.12.0
bool(false)
Output for 5.3.0 - 5.4.24
Fatal error: Cannot redeclare constant 'true' in /in/aWdQk on line 4
Process exited with code 255.