3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php define( 'K', true); var_dump(K); define( 'K', false); var_dump(K);
based on oohBs
Output for 4.3.0 - 4.3.6, 4.3.9 - 4.4.9, 5.0.1 - 7.1.0
bool(true) Notice: Constant K already defined in /in/dMMOR on line 7 bool(true)
Output for 4.3.7 - 4.3.8, 5.0.0
bool(true) Notice: Constant already defined in /in/dMMOR on line 7 bool(true)