3v4l.org

run code in 500+ PHP versions simultaneously
<?php interface Foo { public function getId(): int; } abstract class Baz { public function getId(): mixed { } } class Lorem extends Baz implements Foo { }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4iOYG
function name:  (null)
number of ops:  2
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   20     0  E >   DECLARE_CLASS                                                'lorem', 'baz'
   24     1      > RETURN                                                       1

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

End of function getid

End of class Foo.

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

End of function getid

End of class Baz.

Class Lorem: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
218.52 ms | 2778 KiB | 8 Q