3v4l.org

run code in 300+ PHP versions simultaneously
<?php class T { function delete($a = '') {} } class S extends T { function delete($a = 'text') {} } new S();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RYYE9
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   NEW                                              $0      'S'
          1        DO_FCALL                                      0          
          2        FREE                                                     $0
          3      > RETURN                                                   1

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

End of function delete

End of class T.

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

End of function delete

End of class S.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.77 ms | 1397 KiB | 13 Q