3v4l.org

run code in 300+ PHP versions simultaneously
<?php function get_config(): array { return [1, 2]; } print_r(get_config());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/i8mkd
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL                                               'print_r'
          1        INIT_FCALL                                               'get_config'
          2        DO_FCALL                                      0  $0      
          3        SEND_VAR                                                 $0
          4        DO_ICALL                                                 
          5      > RETURN                                                   1

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

End of function get_config

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.12 ms | 1396 KiB | 16 Q