3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array(); $a[''] = 'key'; $a[null] = 'null'; var_dump($a); echo $a['c'];
Output for 5.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
array(1) { [""]=> string(4) "null" } Notice: Undefined index: c in /in/enXDA on line 7
Output for 4.3.0 - 5.2.17
array(1) { [""]=> string(4) "null" } Notice: Undefined index: c in /in/enXDA on line 7