3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface EditorInterface { public function getDefaultSettings() : array; } class EditorInTheWild implements EditorInterface { public function getDefaultSettings(): array { return []; } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0u5WB
function name:  (null)
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   DECLARE_CLASS                                            'editorinthewild'
   11     1      > RETURN                                                   1

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

End of function getdefaultsettings

End of class EditorInterface.

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

End of function getdefaultsettings

End of class EditorInTheWild.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
126.75 ms | 1397 KiB | 13 Q