3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a[-99] = 'bilk'; $a[18446744073709551517] = 'bode'; var_export($a);
Output for 5.3.0 - 5.3.2, 5.3.4 - 5.3.21, 5.3.23 - 5.6.28, hhvm-3.10.0 - 3.13.2, 7.0.0 - 7.1.0
array ( -99 => 'bilk', 0 => 'bode', )
Output for 5.3.22

Process exited with code 137.
Output for 5.3.3
array ( 18446744073709551517 => 'bilk', 0 => 'bode', )
Output for 5.2.14 - 5.2.17
array ( 18446744073709551517 => 'bilk', 9223372036854775808 => 'bode', )
Output for 4.3.0 - 5.2.13
array ( -99 => 'bilk', -9223372036854775808 => 'bode', )