3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr2 = array(); for($i=2250572300; $i<= 2250572500; $i++){ $arr2[$i]=$i; } echo "<pre>".var_export($arr2,true)."</pre>";
Output for 4.3.0 - 7.1.0
<pre>array ( 2250572300 => 2250572300, 2250572301 => 2250572301, 2250572302 => 2250572302, 2250572303 => 2250572303, 2250572304 => 2250572304, 2250572305 => 2250572305, 2250572306 => 2250572306, 2250572307 => 2250572307, 2250572308 => 2250572308, 2250572309 => 2250572309, 2250572310 => 2250572310, 2250572311 => 2250572311, 2250572312 => 2250572312, 2250572313 => 2250572313, 2250572314 => 2250572314, 2250572315 => 2250572315, 2250572316 => 2250572316, 2250572317 => 2250572317, 2250572318 => 2250572318, 2250572319 => 2250572319, 2250572320 => 2250572320, 2250572321 => 2250572321, 2250572322 => 2250572322, 2250572323 => 2250572323, 2250572324 => 2250572324, 2250572325 => 2250572325, 2250572326 => 2250572326, 2250572327 => 2250572327, 2250572328 => 2250572328, 2250572329 => 2250572329, 2250572330 => 2250572330, 2250572331 => 2250572331, 2250572332 => 2250572332, 2250572333 => 2250572333, 2250572334 => 2250572334, 2250572335 => 2250572335, 2250572336 => 2250572336, 2250572337 => 2250572337, 2250572338 => 2250572338, 2250572339 => 2250572339, 2250572340 => 2250572340, 2250572341 => 2250572341, 2250572342 => 2250572342, 2250572343 => 2250572343, 2250572344 => 2250572344, 2250572345 => 2250572345, 2250572346 => 2250572346, 2250572347 => 2250572347, 2250572348 => 2250572348, 2250572349 => 2250572349, 2250572350 => 2250572350, 2250572351 => 2250572351, 2250572352 => 2250572352, 2250572353 => 2250572353, 2250572354 => 2250572354, 2250572355 => 2250572355, 2250572356 => 2250572356, 2250572357 => 2250572357, 2250572358 => 2250572358, 2250572359 => 2250572359, 2250572360 => 2250572360, 2250572361 => 2250572361, 2250572362 => 2250572362, 2250572363 => 2250572363, 2250572364 => 2250572364, 2250572365 => 2250572365, 2250572366 => 2250572366, 2250572367 => 2250572367, 2250572368 => 2250572368, 2250572369 => 2250572369, 2250572370 => 2250572370, 2250572371 => 2250572371, 2250572372 => 2250572372, 2250572373 => 2250572373, 2250572374 => 2250572374, 2250572375 => 2250572375, 2250572376 => 2250572376, 2250572377 => 2250572377, 2250572378 => 2250572378, 2250572379 => 2250572379, 2250572380 => 2250572380, 2250572381 => 2250572381, 2250572382 => 2250572382, 2250572383 => 2250572383, 2250572384 => 2250572384, 2250572385 => 2250572385, 2250572386 => 2250572386, 2250572387 => 2250572387, 2250572388 => 2250572388, 2250572389 => 2250572389, 2250572390 => 2250572390, 2250572391 => 2250572391, 2250572392 => 2250572392, 2250572393 => 2250572393, 2250572394 => 2250572394, 2250572395 => 2250572395, 2250572396 => 2250572396, 2250572397 => 2250572397, 2250572398 => 2250572398, 2250572399 => 2250572399, 2250572400 => 2250572400, 2250572401 => 2250572401, 2250572402 => 2250572402, 2250572403 => 2250572403, 2250572404 => 2250572404, 2250572405 => 2250572405, 2250572406 => 2250572406, 2250572407 => 2250572407, 2250572408 => 2250572408, 2250572409 => 2250572409, 2250572410 => 2250572410, 2250572411 => 2250572411, 2250572412 => 2250572412, 2250572413 => 2250572413, 2250572414 => 2250572414, 2250572415 => 2250572415, 2250572416 => 2250572416, 2250572417 => 2250572417, 2250572418 => 2250572418, 2250572419 => 2250572419, 2250572420 => 2250572420, 2250572421 => 2250572421, 2250572422 => 2250572422, 2250572423 => 2250572423, 2250572424 => 2250572424, 2250572425 => 2250572425, 2250572426 => 2250572426, 2250572427 => 2250572427, 2250572428 => 2250572428, 2250572429 => 2250572429, 2250572430 => 2250572430, 2250572431 => 2250572431, 2250572432 => 2250572432, 2250572433 => 2250572433, 2250572434 => 2250572434, 2250572435 => 2250572435, 2250572436 => 2250572436, 2250572437 => 2250572437, 2250572438 => 2250572438, 2250572439 => 2250572439, 2250572440 => 2250572440, 2250572441 => 2250572441, 2250572442 => 2250572442, 2250572443 => 2250572443, 2250572444 => 2250572444, 2250572445 => 2250572445, 2250572446 => 2250572446, 2250572447 => 2250572447, 2250572448 => 2250572448, 2250572449 => 2250572449, 2250572450 => 2250572450, 2250572451 => 2250572451, 2250572452 => 2250572452, 2250572453 => 2250572453, 2250572454 => 2250572454, 2250572455 => 2250572455, 2250572456 => 2250572456, 2250572457 => 2250572457, 2250572458 => 2250572458, 2250572459 => 2250572459, 2250572460 => 2250572460, 2250572461 => 2250572461, 2250572462 => 2250572462, 2250572463 => 2250572463, 2250572464 => 2250572464, 2250572465 => 2250572465, 2250572466 => 2250572466, 2250572467 => 2250572467, 2250572468 => 2250572468, 2250572469 => 2250572469, 2250572470 => 2250572470, 2250572471 => 2250572471, 2250572472 => 2250572472, 2250572473 => 2250572473, 2250572474 => 2250572474, 2250572475 => 2250572475, 2250572476 => 2250572476, 2250572477 => 2250572477, 2250572478 => 2250572478, 2250572479 => 2250572479, 2250572480 => 2250572480, 2250572481 => 2250572481, 2250572482 => 2250572482, 2250572483 => 2250572483, 2250572484 => 2250572484, 2250572485 => 2250572485, 2250572486 => 2250572486, 2250572487 => 2250572487, 2250572488 => 2250572488, 2250572489 => 2250572489, 2250572490 => 2250572490, 2250572491 => 2250572491, 2250572492 => 2250572492, 2250572493 => 2250572493, 2250572494 => 2250572494, 2250572495 => 2250572495, 2250572496 => 2250572496, 2250572497 => 2250572497, 2250572498 => 2250572498, 2250572499 => 2250572499, 2250572500 => 2250572500, )</pre>