3v4l.org

run code in 500+ PHP versions simultaneously
<?php interface HubInterface { public static function setCurrent(self $hub): self; } class Hub implements HubInterface { public static function setCurrent(self $hub): self {} }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ljZp6
function name:  (null)
number of ops:  2
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    7     0  E >   DECLARE_CLASS                                                'hub'
   11     1      > RETURN                                                       1

Class HubInterface:
Function setcurrent:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ljZp6
function name:  setCurrent
number of ops:  3
compiled vars:  !0 = $hub
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    4     0  E >   RECV                                                 !0      
          1        VERIFY_RETURN_TYPE                                           
          2      > RETURN                                                       null

End of function setcurrent

End of class HubInterface.

Class Hub:
Function setcurrent:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ljZp6
function name:  setCurrent
number of ops:  3
compiled vars:  !0 = $hub
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    9     0  E >   RECV                                                 !0      
   10     1        VERIFY_RETURN_TYPE                                           
          2      > RETURN                                                       null

End of function setcurrent

End of class Hub.

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
164.24 ms | 2121 KiB | 13 Q