3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo (int)12312321312312312111; var_dump(array(12312321312312312111=>'dsf'));
based on 5XEnA
Output for 5.3.0 - 5.6.30, hhvm-3.10.1 - 3.17.3, 7.0.0 - 7.3.0alpha1
-6134422761397239808array(1) { [-6134422761397239808]=> string(3) "dsf" }
Output for 4.3.0 - 5.0.1, 5.0.3 - 5.2.17
-6134422761397239808array(1) { [-9223372036854775808]=> string(3) "dsf" }
Output for 5.0.2
9223372036854775807array(1) { [-9223372036854775808]=> string(3) "dsf" }