3v4l.org

run code in 300+ PHP versions simultaneously
<?php trait a{ } class b{ use a; } $d = new b();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/q07Wm
function name:  (null)
number of ops:  5
compiled vars:  !0 = $d
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   DECLARE_CLASS                                            'b'
    8     1        NEW                                              $1      'b'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $1
          4      > RETURN                                                   1

Class a: [no user functions]
Class b: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.56 ms | 1396 KiB | 13 Q