3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t = (object) array('t' => (object)array('a' => 'test')); var_dump($t->t->a);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ma2eU
function name:  (null)
number of ops:  10
compiled vars:  !0 = $t
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   CAST                                          8  ~1      <array>
          1        INIT_ARRAY                                       ~2      ~1, 't'
          2        CAST                                          8  ~3      ~2
          3        ASSIGN                                                   !0, ~3
    3     4        INIT_FCALL                                               'var_dump'
          5        FETCH_OBJ_R                                      ~5      !0, 't'
          6        FETCH_OBJ_R                                      ~6      ~5, 'a'
          7        SEND_VAL                                                 ~6
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.37 ms | 1393 KiB | 15 Q