3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.23 ms | 1394 KiB | 17 Q