3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr1 = array(); $arr1[9999999999999999999999999999999] = "abc"; var_dump($arr1); $arr2 = array(); $arr2["9999999999999999999999999999999"]="abc"; var_dump($arr2);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/LnaTn
function name:  (null)
number of ops:  13
compiled vars:  !0 = $arr1, !1 = $arr2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN_DIM                                               !0, 1.0e+31
          2        OP_DATA                                                  'abc'
    4     3        INIT_FCALL                                               'var_dump'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                                 
    6     6        ASSIGN                                                   !1, <array>
    7     7        ASSIGN_DIM                                               !1, '9999999999999999999999999999999'
          8        OP_DATA                                                  'abc'
    8     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.67 ms | 1394 KiB | 15 Q