3v4l.org

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