3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface I { } interface C extends I { } interface BI { function x(); } class BC implements BI { function x(): C { } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3t7e5
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   DECLARE_CLASS                                            'c'
   13     1        DECLARE_CLASS                                            'bc'
   17     2      > RETURN                                                   1

Class I: [no user functions]
Class C: [no user functions]
Class BI:
Function x:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3t7e5
function name:  x
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E > > RETURN                                                   null

End of function x

End of class BI.

Class BC:
Function x:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3t7e5
function name:  x
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   16     0  E >   VERIFY_RETURN_TYPE                                       
          1      > RETURN                                                   null

End of function x

End of class BC.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.91 ms | 1392 KiB | 13 Q