3v4l.org

run code in 200+ php & hhvm versions
<?php defined('PHP_INT_MAX') or define('PHP_INT_MAX', is_int(0x7FFFFFFF+1) ? 0x7FFFFFFFFFFFFFFF : 0x7FFFFFFF); $a = array(PHP_INT_MAX => 42); $a[] = 37; var_dump($a);