3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array('a' => "test"); echo "string " . $a['a'] . " defedf"; echo "string " . $a['b'] . " defedf";
based on YiRIm
Output for 5.3.0 - 7.2.0
string test defedf Notice: Undefined index: b in /in/EUvZb on line 5 string defedf
Output for 4.3.0 - 5.2.17
string test defedf Notice: Undefined index: b in /in/EUvZb on line 5 string defedf