3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { } class B extends A { } class Base { public function method(B $b) { } } class Child extends Base { public function method(A $a) { } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/dPTFQ
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   24     0  E > > RETURN                                                   1

Class A: [no user functions]
Class B: [no user functions]
Class Base:
Function method:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/dPTFQ
function name:  method
number of ops:  2
compiled vars:  !0 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   RECV                                             !0      
   16     1      > RETURN                                                   null

End of function method

End of class Base.

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

End of function method

End of class Child.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.94 ms | 1384 KiB | 13 Q