3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $state["Delaware"] = "December 7, 1787"; $state["Pennsylvania"] = "December 12, 1787"; $state["Ohio"] = "March 1, 1803"; if (array_key_exists("Ohio", $state)) echo "Ohio joined the Union on $state[Ohio]"; ?>
based on spClr
Output for 4.3.0 - 7.2.0
Ohio joined the Union on March 1, 1803