3v4l.org

run code in 300+ PHP versions simultaneously
<?php function wp_map_sidebars_widgets( $existing_sidebars_widgets ) { return $existing_sidebars_widgets; } $sidebars_widgets = array( 'sidebar-1' => array(), 'sidebar-2' => array(), 'sidebar-3' => null ); $sidebars_widgets = wp_map_sidebars_widgets( $sidebars_widgets ); // Find hidden/lost multi-widget instances. $shown_widgets = array_merge( ...array_values( $sidebars_widgets ) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/i45nZ
function name:  (null)
number of ops:  14
compiled vars:  !0 = $sidebars_widgets, !1 = $shown_widgets
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   ASSIGN                                                   !0, <array>
    8     1        INIT_FCALL                                               'wp_map_sidebars_widgets'
          2        SEND_VAR                                                 !0
          3        DO_FCALL                                      0  $3      
          4        ASSIGN                                                   !0, $3
   11     5        INIT_FCALL                                               'array_merge'
          6        INIT_FCALL                                               'array_values'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $5      
          9        SEND_UNPACK                                              $5
         10        CHECK_UNDEF_ARGS                                         
         11        DO_ICALL                                         $6      
         12        ASSIGN                                                   !1, $6
         13      > RETURN                                                   1

Function wp_map_sidebars_widgets:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/i45nZ
function name:  wp_map_sidebars_widgets
number of ops:  3
compiled vars:  !0 = $existing_sidebars_widgets
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    4     1      > RETURN                                                   !0
    5     2*     > RETURN                                                   null

End of function wp_map_sidebars_widgets

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.06 ms | 1462 KiB | 16 Q