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);
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = 2, Position 2 = 12
Branch analysis from position: 2
Jump found. Position 1 = 6, Position 2 = 8
Branch analysis from position: 6
Jump found. Position 1 = 9
Branch analysis from position: 9
Jump found. Position 1 = -2
Branch analysis from position: 8
Jump found. Position 1 = -2
Branch analysis from position: 12
filename:       /in/As2H4
function name:  (null)
number of ops:  20
compiled vars:  !0 = $a
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   2     0  E >   DEFINED                                          ~1      'PHP_INT_MAX'
         1      > JMPNZ_EX                                         ~1      ~1, ->12
         2    >   INIT_FCALL                                               'define'
         3        SEND_VAL                                                 'PHP_INT_MAX'
         4        TYPE_CHECK                                    4  ~2      2147483648
         5      > JMPZ                                                     ~2, ->8
         6    >   QM_ASSIGN                                        ~3      9223372036854775807
         7      > JMP                                                      ->9
         8    >   QM_ASSIGN                                        ~3      2147483647
         9    >   SEND_VAL                                                 ~3
        10        DO_ICALL                                         $4      
        11        BOOL                                             ~1      $4
        12    >   FREE                                                     ~1
   3    13        ASSIGN                                                   !0, <array>
   4    14        ASSIGN_DIM                                               !0
        15        OP_DATA                                                  37
   5    16        INIT_FCALL                                               'var_dump'
        17        SEND_VAR                                                 !0
        18        DO_ICALL                                                 
        19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0