3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php define("FOO", 0); $my_varr = array( 0 => 'HELLO', 1 => 'WORLD', ); echo $my_varr[FOO];
Output for 4.3.0 - 7.1.0
HELLO