3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface I { function f($code = 1); static function sf(); const MY_CONST = 2; } class ATT { function att() {} } class BTT extends ATT implements I { const MY_CONST = 1; function f($code = 1) { // TODO: Implement f() method. } static function sf() { // TODO: Implement sf() method. } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6FllD
function name:  (null)
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   18     0  E >   DECLARE_CLASS                                            'btt', 'att'
   31     1      > RETURN                                                   1

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

End of function f

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

End of function sf

End of class I.

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

End of function att

End of class ATT.

Class BTT:
Function f:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6FllD
function name:  f
number of ops:  2
compiled vars:  !0 = $code
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   22     0  E >   RECV_INIT                                        !0      1
   25     1      > RETURN                                                   null

End of function f

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

End of function sf

End of class BTT.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.19 ms | 935 KiB | 14 Q