3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.99 ms | 1385 KiB | 15 Q