3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Legacy { function get($index); } interface Modern { function get($index); } class defaultImpl implements Legacy, Modern { public function get($index) {} }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/U6mBV
function name:  (null)
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   DECLARE_CLASS                                            'defaultimpl'
   10     1      > RETURN                                                   1

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

End of function get

End of class Legacy.

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

End of function get

End of class Modern.

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

End of function get

End of class defaultImpl.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.62 ms | 1385 KiB | 13 Q