3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php error_reporting(E_ALL); $arr=array(); $val=$arr['klsjb']; if ($val===null) echo "value is null"; print_r($val);
Output for 5.3.0 - 7.1.0
Notice: Undefined index: klsjb in /in/0thbf on line 4 value is null
Output for 4.3.0 - 5.2.17
Notice: Undefined index: klsjb in /in/0thbf on line 4 value is null