3v4l.org

run code in 300+ PHP versions simultaneously
<?php $st = new stdClass(); $st->q = new stdClass(); $st->q->k = 1; $st->q->w = 2; print_r($st);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9Bnq9
function name:  (null)
number of ops:  17
compiled vars:  !0 = $st
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $1      'stdClass'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
    4     3        NEW                                              $5      'stdClass'
          4        DO_FCALL                                      0          
          5        ASSIGN_OBJ                                               !0, 'q'
          6        OP_DATA                                                  $5
    5     7        FETCH_OBJ_W                                      $7      !0, 'q'
          8        ASSIGN_OBJ                                               $7, 'k'
          9        OP_DATA                                                  1
    6    10        FETCH_OBJ_W                                      $9      !0, 'q'
         11        ASSIGN_OBJ                                               $9, 'w'
         12        OP_DATA                                                  2
    7    13        INIT_FCALL                                               'print_r'
         14        SEND_VAR                                                 !0
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.72 ms | 1394 KiB | 15 Q