3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $foo = array('a'=>'b'); $foo2 = $foo['c']; echo is_null($foo['c']);
based on 95njf
Output for 5.3.0 - 7.1.0
Notice: Undefined index: c in /in/NaoHU on line 5 Notice: Undefined index: c in /in/NaoHU on line 7 1
Output for 4.3.0 - 5.2.17
Notice: Undefined index: c in /in/NaoHU on line 5 Notice: Undefined index: c in /in/NaoHU on line 7 1