3v4l.org

run code in 300+ PHP versions simultaneously
<?php class foo{ } abstract class bar{ abstract public function get(); } class baz extends bar{ public function get(){return 1;} }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/G8R9O
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E > > RETURN                                                   1

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

End of function get

End of class bar.

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

End of function get

End of class baz.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.42 ms | 1384 KiB | 13 Q