3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php define('A', 1, true); var_dump(A); define('A', 2); var_dump('A');
Output for 4.3.0 - 5.6.28, 7.0.0 - 7.1.0
int(1) string(1) "A"
Output for hhvm-3.10.0 - 3.12.0
Warning: Case insensitive constant names are not supported in HipHop in /in/95du4 on line 2 int(1) Notice: Constant A already defined in /in/95du4 on line 2 string(1) "A"