3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php define('FOO', 10); $array = array(10 => FOO, "FOO" => 20); echo $array[FOO]; echo $array["FOO"]; print $array[$array[FOO]] * $array["FOO"]; ?>
based on hI5a9
Output for 4.3.0 - 7.1.0
1020200