3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Command {} interface ITest { public function handle($command); } class CTest implements ITest { public function handle(Command $command) { } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/g8Q0m
function name:  (null)
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   DECLARE_CLASS                                            'ctest'
   13     1      > RETURN                                                   1

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

End of function handle

End of class ITest.

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

End of function handle

End of class CTest.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.74 ms | 1393 KiB | 13 Q