3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface FooInterface { public function one(); public function two(); } abstract class FooBase implements FooInterface { public function one() { return 1; } } class Foo extends FooBase { public function two() { return 2; } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DbIFZ
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   DECLARE_CLASS                                            'foobase'
   12     1        DECLARE_CLASS                                            'foo', 'foobase'
   16     2      > RETURN                                                   1

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

End of function one

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

End of function two

End of class FooInterface.

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

End of function one

End of class FooBase.

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

End of function two

End of class Foo.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.97 ms | 1398 KiB | 13 Q