3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface BaseInterface { public function testMethod(); } interface TestInterface extends BaseInterface { } interface TestInterface2 extends BaseInterface { } abstract class Base implements TestInterface {} class TestClass extends Base implements TestInterface, TestInterface2 { public function testMethod() { } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cIcXg
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   DECLARE_CLASS                                            'testinterface'
   12     1        DECLARE_CLASS                                            'testinterface2'
   16     2        DECLARE_CLASS                                            'base'
   18     3        DECLARE_CLASS                                            'testclass', 'base'
   23     4      > RETURN                                                   1

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

End of function testmethod

End of class BaseInterface.

Class TestInterface: [no user functions]
Class TestInterface2: [no user functions]
Class Base: [no user functions]
Class TestClass:
Function testmethod:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cIcXg
function name:  testMethod
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   22     0  E > > RETURN                                                   null

End of function testmethod

End of class TestClass.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.6 ms | 1393 KiB | 13 Q