3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface iInherit { public function inheritMe(); } abstract class InheritBase implements iInherit { public function inheritMe() { return 11; } } class Child extends InheritBase { public function inheritMe() { } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cW0I3
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   DECLARE_CLASS                                            'inheritbase'
   15     1        DECLARE_CLASS                                            'child', 'inheritbase'
   20     2      > RETURN                                                   1

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

End of function inheritme

End of class iInherit.

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

End of function inheritme

End of class InheritBase.

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

End of function inheritme

End of class Child.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.84 ms | 1394 KiB | 13 Q