3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr = [5076964154930102272 => 'some value']; $arr[999999999999999999999999999999] = 'another value'; var_dump($arr);
based on jnHh1
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.1.8
array(1) { [5076964154930102272]=> string(13) "another value" }
Output for hhvm-3.18.4 - 3.21.0
array(2) { [5076964154930102272]=> string(10) "some value" [0]=> string(13) "another value" }