3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { function c($a) { } } class B extends A { function c($b) { } } error_reporting(-1); new B;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IjjjE
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 -1
          2        DO_ICALL                                                 
   14     3        NEW                                              $1      'B'
          4        DO_FCALL                                      0          
          5        FREE                                                     $1
          6      > RETURN                                                   1

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

End of function c

End of class A.

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

End of function c

End of class B.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.44 ms | 1395 KiB | 15 Q