3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { public $arr = []; } $t = new Test(); $t->arr['b'] = 'HELLO'; $t->arr2['b'] = "HELLO2"; var_dump($t);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BeRMK
function name:  (null)
number of ops:  13
compiled vars:  !0 = $t
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   NEW                                              $1      'Test'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   10     3        FETCH_OBJ_W                                      $4      !0, 'arr'
          4        ASSIGN_DIM                                               $4, 'b'
          5        OP_DATA                                                  'HELLO'
   11     6        FETCH_OBJ_W                                      $6      !0, 'arr2'
          7        ASSIGN_DIM                                               $6, 'b'
          8        OP_DATA                                                  'HELLO2'
   12     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Class Test: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.25 ms | 1394 KiB | 15 Q