3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a[PHP_INT_MAX] = 22; echo $a[] = 42; var_dump($a);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4CrrK
function name:  (null)
number of ops:  9
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN_DIM                                               !0, 9223372036854775807
          1        OP_DATA                                                  22
    3     2        ASSIGN_DIM                                       ~2      !0
          3        OP_DATA                                                  42
          4        ECHO                                                     ~2
    4     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.73 ms | 939 KiB | 16 Q