3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array(); $a[9999999999999999999999] = 'a'; print_r($a);
Output for 5.5.24 - 7.2.0
Array ( [1864712049423024128] => a )
Output for 5.3.0 - 5.4.45
Array ( [0] => a )
Output for 4.3.0 - 5.2.17
Array ( [-9223372036854775808] => a )