3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php define('A','test'); define('A', 'test2'); echo A;
Output for 5.5.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Notice: Constant A already defined in /in/UcVd7 on line 4 test
Output for 4.3.0 - 5.4.45
test