3v4l.org

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

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

End of function test

End of class AI.

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

End of function test

End of class Run.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
207.63 ms | 1006 KiB | 13 Q