3v4l.org

run code in 300+ PHP versions simultaneously
<?php $r = array() ; $r[] = array() ; $r[0]['table'] = "userSessions" ; $r[0]['data'] = array('uid'=>12345) ; $r[1]['table'] = "userTable" ; $r[1]['data'] = array('mid'=>'112233') ; $r[1]['data'][0]['test'] = 'something' ; var_dump($r) ;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Vahmq
function name:  (null)
number of ops:  24
compiled vars:  !0 = $r
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN_DIM                                               !0
          2        OP_DATA                                                  <array>
    4     3        FETCH_DIM_W                                      $3      !0, 0
          4        ASSIGN_DIM                                               $3, 'table'
          5        OP_DATA                                                  'userSessions'
    5     6        FETCH_DIM_W                                      $5      !0, 0
          7        ASSIGN_DIM                                               $5, 'data'
          8        OP_DATA                                                  <array>
    6     9        FETCH_DIM_W                                      $7      !0, 1
         10        ASSIGN_DIM                                               $7, 'table'
         11        OP_DATA                                                  'userTable'
    7    12        FETCH_DIM_W                                      $9      !0, 1
         13        ASSIGN_DIM                                               $9, 'data'
         14        OP_DATA                                                  <array>
    8    15        FETCH_DIM_W                                      $11     !0, 1
         16        FETCH_DIM_W                                      $12     $11, 'data'
         17        FETCH_DIM_W                                      $13     $12, 0
         18        ASSIGN_DIM                                               $13, 'test'
         19        OP_DATA                                                  'something'
    9    20        INIT_FCALL                                               'var_dump'
         21        SEND_VAR                                                 !0
         22        DO_ICALL                                                 
         23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.65 ms | 1395 KiB | 15 Q