3v4l.org

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

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

End of function bar

End of class flerp.

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

End of function foo

End of class derp.

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

End of function bar

End of class herp.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.27 ms | 1394 KiB | 13 Q