3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array(); if ($a['bad_index']) echo $a['bad_index']; else echo 7;
Output for 5.5.0 - 7.1.0
Notice: Undefined index: bad_index in /in/Wd2OF on line 3 7
Output for 4.3.0 - 5.4.45
7