3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Base { function base(); } interface Derived extends Base { function derived(); } interface Derp extends Base { function derp(); } class ThisIsValid implements Base, Derived { public function base() {} public function derived() {} } class ThisWillError implements Derp, Derived { public function derp() {} public function derived() {} }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KQSWK
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   DECLARE_CLASS                                            'derived'
   12     1        DECLARE_CLASS                                            'derp'
   17     2        DECLARE_CLASS                                            'thisisvalid'
   22     3        DECLARE_CLASS                                            'thiswillerror'
   25     4      > RETURN                                                   1

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

End of function base

End of class Base.

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

End of function derived

End of class Derived.

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

End of function derp

End of class Derp.

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

End of function base

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

End of function derived

End of class ThisIsValid.

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

End of function derp

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

End of function derived

End of class ThisWillError.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.26 ms | 1399 KiB | 13 Q