3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $s = array(); $s[0] = array('Summe' => 1); $s[2003] = array('Summe' => 8); echo $s[0]['Summe']; echo $s[2004]['Summe'];
Output for 5.3.28 - 5.3.29, 5.4.20 - 5.6.28, 7.0.0 - 7.1.0
1 Notice: Undefined offset: 2004 in /in/lZamQ on line 7
Output for hhvm-3.10.0 - 3.12.0
1 Notice: Undefined index: 2004 in /in/lZamQ on line 7
Output for 5.3.0 - 5.3.27, 5.4.0 - 5.4.19
1 Notice: Undefined offset: 2004 in /in/Grorn on line 7
Output for 4.3.1 - 5.2.17
1 Notice: Undefined offset: 2004 in /in/Grorn on line 7
Output for 4.3.0
1 Notice: Undefined offset: 2004 in /in/lZamQ on line 7