3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { public $prop; } $test = new Test; $test->prop->child = 1;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FK53g
function name:  (null)
number of ops:  7
compiled vars:  !0 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   NEW                                              $1      'Test'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   10     3        FETCH_OBJ_W                                      $4      !0, 'prop'
          4        ASSIGN_OBJ                                               $4, 'child'
          5        OP_DATA                                                  1
          6      > RETURN                                                   1

Class Test: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.19 ms | 1396 KiB | 13 Q