3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Control { public function hasOptions(); } interface ControlDecoratable { public function hasOptions(); public function b(); } class AbstractControl implements Control { public function hasOptions() {} public function b() {} } abstract class ControlDecorator extends AbstractControl implements ControlDecoratable { } class E extends ControlDecorator {} $a = new E();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/bnh84
function name:  (null)
number of ops:  7
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   DECLARE_CLASS                                            'abstractcontrol'
   17     1        DECLARE_CLASS                                            'controldecorator', 'abstractcontrol'
   20     2        DECLARE_CLASS                                            'e', 'controldecorator'
   22     3        NEW                                              $1      'E'
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !0, $1
          6      > RETURN                                                   1

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

End of function hasoptions

End of class Control.

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

End of function hasoptions

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

End of function b

End of class ControlDecoratable.

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

End of function hasoptions

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

End of function b

End of class AbstractControl.

Class ControlDecorator: [no user functions]
Class E: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.8 ms | 1395 KiB | 13 Q