3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface A {} interface BB {} interface B extends BB {} interface C extends A {} interface I { public function foo(A&B $arg); } interface J extends I { public function foo(BB $arg); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6u8BV
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   DECLARE_CLASS                                            'b'
    6     1        DECLARE_CLASS                                            'c'
   12     2        DECLARE_CLASS                                            'j'
   14     3      > RETURN                                                   1

Class A: [no user functions]
Class BB: [no user functions]
Class B: [no user functions]
Class C: [no user functions]
Class I:
Function foo:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6u8BV
function name:  foo
number of ops:  2
compiled vars:  !0 = $arg
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   RECV                                             !0      
          1      > RETURN                                                   null

End of function foo

End of class I.

Class J:
Function foo:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6u8BV
function name:  foo
number of ops:  2
compiled vars:  !0 = $arg
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   RECV                                             !0      
          1      > RETURN                                                   null

End of function foo

End of class J.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
138.62 ms | 962 KiB | 13 Q