3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Interface1 { public function test1 (array $arr1 = [], array &$arr2 = []); } interface Interface2 extends Interface1 { public function test1 (array $arr1 = []); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/juZTe
function name:  (null)
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   DECLARE_CLASS                                            'interface2'
    9     1      > RETURN                                                   1

Class Interface1:
Function test1:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/juZTe
function name:  test1
number of ops:  3
compiled vars:  !0 = $arr1, !1 = $arr2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV_INIT                                        !0      <array>
          1        RECV_INIT                                        !1      <array>
          2      > RETURN                                                   null

End of function test1

End of class Interface1.

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

End of function test1

End of class Interface2.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.89 ms | 1388 KiB | 14 Q