3v4l.org

run code in 500+ PHP versions simultaneously
<?php interface HasOptionalValue { public function getValue(): ?int; } interface HasValue { public function getValue(): int; } interface Result extends HasValue, HasOptionalValue { }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/g6AfC
function name:  (null)
number of ops:  2
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   10     0  E >   DECLARE_CLASS                                                'result'
   11     1      > RETURN                                                       1

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

End of function getvalue

End of class HasOptionalValue.

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

End of function getvalue

End of class HasValue.

Class Result: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
117.47 ms | 503 KiB | 9 Q