3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr1 = array(4, '1234567898765432123456789' => 'dd', 11.11=>'last'); echo $arr1[1234567898765432123456789];
Output for 5.5.24 - 5.6.28, 7.0.0 - 7.1.0
Notice: Undefined offset: 1104888346741571584 in /in/XEUO5 on line 3
Output for hhvm-3.10.0 - 3.12.0
Notice: Undefined index: 1.2345678987654E+24 in /in/XEUO5 on line 3
Output for 5.3.0 - 5.4.45
4
Output for 4.3.4 - 5.2.17
Notice: Undefined offset: -9223372036854775808 in /in/XEUO5 on line 3
Output for 4.3.0 - 4.3.3
Notice: Undefined offset: 0 in /in/XEUO5 on line 3