3v4l.org

run code in 200+ PHP versions simultaneously
<?php class ParentClassBackCompat { public function walk($param1, $param2) {} } class ChildClassBackCompat extends ParentClassBackCompat { function walk($param1, $param2, ...$spread) {} }
based on 5oNs4
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/P1PaI
function name:  (null)
number of ops:  1
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   9     0  E > > RETURN                                                   1

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

End of function walk

End of class ParentClassBackCompat.

Class ChildClassBackCompat:
Function walk:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/P1PaI
function name:  walk
number of ops:  4
compiled vars:  !0 = $param1, !1 = $param2, !2 = $spread
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   8     0  E >   RECV                                             !0      
         1        RECV                                             !1      
         2        RECV_VARIADIC                                    !2      
         3      > RETURN                                                   null

End of function walk

End of class ChildClassBackCompat.

Generated using Vulcan Logic Dumper, using php 7.4.0