3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php interface iInherit { public function inheritMe(); } abstract class InheritBase implements iInherit { abstract public function inheritMe(); } class Child extends InheritBase { public function inheritMe() { } }
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/NNnhI
function name:  (null)
number of ops:  6
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   NOP                                                      
   8     1        DECLARE_CLASS                                    $1      '%00inheritbase%2Fin%2FNNnhI0x7f490affd0a3', 'inheritbase'
         2        ADD_INTERFACE                                            $1, 'iInherit'
  13     3        FETCH_CLASS                                   0  :2      'InheritBase'
         4        DECLARE_INHERITED_CLASS                          $3      '%00child%2Fin%2FNNnhI0x7f490affd100', 'child'
  18     5      > RETURN                                                   1

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

End of function inheritme

End of class iInherit.

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

End of function inheritme

End of class InheritBase.

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

End of function inheritme

End of class Child.

Generated using Vulcan Logic Dumper, using php 7.3.0