3v4l.org

run code in 300+ PHP versions simultaneously
<?php class TypeA {} class TypeB {} interface hasMethodA { public function method(): TypeA & TypeB; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/aDUGK
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E > > RETURN                                                   1

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

End of function method

End of class hasMethodA.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.85 ms | 1446 KiB | 13 Q