3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a['bar'] = 'fd'; $a[-99] = 'bilk'; $a[18446744073709551517] = 'bode'; var_export($a);
Output for 5.3.0 - 5.3.2, 5.3.4 - 7.2.0
array ( 'bar' => 'fd', -99 => 'bilk', 0 => 'bode', )
Output for 5.3.3
array ( 'bar' => 'fd', 18446744073709551517 => 'bilk', 0 => 'bode', )
Output for 5.2.14 - 5.2.17
array ( 'bar' => 'fd', 18446744073709551517 => 'bilk', 9223372036854775808 => 'bode', )
Output for 4.3.0 - 5.2.13
array ( 'bar' => 'fd', -99 => 'bilk', -9223372036854775808 => 'bode', )