3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php error_reporting(E_ALL); $a = array('test'=>null); if ( $a['test2'] === 1) echo 1; echo "fertig".$a['test'];
Output for 5.3.0 - 7.1.0
Notice: Undefined index: test2 in /in/IfBnF on line 4 fertig
Output for 4.3.0 - 5.2.17
Notice: Undefined index: test2 in /in/IfBnF on line 4 fertig