3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface B { } interface A extends B { public function a(B $a); } class AA implements A { public function a(A $a) { // } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0o7gn
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   DECLARE_CLASS                                            'a'
   12     1        DECLARE_CLASS                                            'aa'
   18     2      > RETURN                                                   1

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

End of function a

End of class A.

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

End of function a

End of class AA.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.29 ms | 1393 KiB | 13 Q