3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a= date('l'); $b=array('Monday'=>'blue'); echo "Today is: $b[$a]";
Output for 5.3.0 - 7.1.0
Notice: Undefined index: Sunday in /in/LL8t1 on line 4 Today is:
Output for 4.3.0 - 5.2.17
Notice: Undefined index: Sunday in /in/LL8t1 on line 4 Today is: