3v4l.org

run code in 500+ PHP versions simultaneously
<?php interface One { public function i(): int|string; } interface Two extends One { public function i(): int; } interface Three extends Two { public function i(): int|string; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/j1SO9
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    8     0  E >   DECLARE_CLASS                                                'two'
   13     1        DECLARE_CLASS                                                'three'
   16     2      > RETURN                                                       1

Class One:
Function i:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/j1SO9
function name:  i
number of ops:  2
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    5     0  E >   VERIFY_RETURN_TYPE                                           
          1      > RETURN                                                       null

End of function i

End of class One.

Class Two:
Function i:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/j1SO9
function name:  i
number of ops:  2
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   10     0  E >   VERIFY_RETURN_TYPE                                           
          1      > RETURN                                                       null

End of function i

End of class Two.

Class Three:
Function i:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/j1SO9
function name:  i
number of ops:  2
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   15     0  E >   VERIFY_RETURN_TYPE                                           
          1      > RETURN                                                       null

End of function i

End of class Three.

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
269.61 ms | 1673 KiB | 14 Q