3v4l.org

run code in 300+ PHP versions simultaneously
do_action( 'foodbakery_before_header' ); ?><!DOCTYPE html> <html <?php language_attributes(); ?>> <head> <?php global $foodbakery_var_options; $foodbakery_var_layout = isset( $foodbakery_var_options['foodbakery_var_layout'] ) ? $foodbakery_var_options['foodbakery_var_layout'] : ''; ?> <meta charset="<?php bloginfo( 'charset' ); ?>"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="profile" href="http://gmpg.org/xfn/11"> <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>"> <?php $bg_color = get_post_meta( get_the_id(), 'foodbakery_var_page_bg_color', true ); $style_bgcol = ''; if ( isset( $bg_color ) && $bg_color != '' && ! is_array( $bg_color ) ) { $style_bgcol = 'style="background-color:' . $bg_color . '"'; } wp_head(); ?> </head> <body <?php body_class(); ?>> <div class="wrapper wrapper-<?php echo esc_html( $foodbakery_var_layout ); ?>" <?php esc_html($style_bgcol); ?>> <!-- Side Menu Start --> <div id="overlay"></div> <?php $foodbakery_var_maintenance_page = isset( $foodbakery_var_options['foodbakery_var_maintinance_mode_page'] ) ? $foodbakery_var_options['foodbakery_var_maintinance_mode_page'] : ''; $foodbakery_var_maintenance_check = isset( $foodbakery_var_options['foodbakery_var_maintenance_switch'] ) ? $foodbakery_var_options['foodbakery_var_maintenance_switch'] : ''; $foodbakery_var_maintenance_header_switch = isset( $foodbakery_var_options['foodbakery_var_maintenance_header_switch'] ) ? $foodbakery_var_options['foodbakery_var_maintenance_header_switch'] : 'off'; if ( get_the_ID() == $foodbakery_var_maintenance_page && $foodbakery_var_maintenance_check == 'on' && $foodbakery_var_maintenance_header_switch <> 'on' ) { echo '<header id="header"></header>'; } elseif ( '' != get_the_ID() && get_the_ID() == $foodbakery_var_maintenance_page && $foodbakery_var_maintenance_check <> 'on' && $foodbakery_var_maintenance_header_switch <> 'on' ) { echo '<header id="header"></header>'; } else { foodbakery_main_header(); if ( function_exists( 'foodbakery_var_subheader_style' ) ) { foodbakery_var_subheader_style(); } }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 10
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
2 jumps found. (Code = 46) Position 1 = 32, Position 2 = 34
Branch analysis from position: 32
2 jumps found. (Code = 46) Position 1 = 35, Position 2 = 38
Branch analysis from position: 35
2 jumps found. (Code = 43) Position 1 = 39, Position 2 = 42
Branch analysis from position: 39
2 jumps found. (Code = 43) Position 1 = 59, Position 2 = 62
Branch analysis from position: 59
1 jumps found. (Code = 42) Position 1 = 63
Branch analysis from position: 63
2 jumps found. (Code = 43) Position 1 = 66, Position 2 = 69
Branch analysis from position: 66
1 jumps found. (Code = 42) Position 1 = 70
Branch analysis from position: 70
2 jumps found. (Code = 43) Position 1 = 73, Position 2 = 76
Branch analysis from position: 73
1 jumps found. (Code = 42) Position 1 = 77
Branch analysis from position: 77
2 jumps found. (Code = 46) Position 1 = 82, Position 2 = 84
Branch analysis from position: 82
2 jumps found. (Code = 46) Position 1 = 85, Position 2 = 87
Branch analysis from position: 85
2 jumps found. (Code = 43) Position 1 = 88, Position 2 = 90
Branch analysis from position: 88
1 jumps found. (Code = 42) Position 1 = 115
Branch analysis from position: 115
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 90
2 jumps found. (Code = 46) Position 1 = 94, Position 2 = 98
Branch analysis from position: 94
2 jumps found. (Code = 46) Position 1 = 99, Position 2 = 101
Branch analysis from position: 99
2 jumps found. (Code = 46) Position 1 = 102, Position 2 = 104
Branch analysis from position: 102
2 jumps found. (Code = 43) Position 1 = 105, Position 2 = 107
Branch analysis from position: 105
1 jumps found. (Code = 42) Position 1 = 115
Branch analysis from position: 115
Branch analysis from position: 107
2 jumps found. (Code = 43) Position 1 = 113, Position 2 = 115
Branch analysis from position: 113
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 115
Branch analysis from position: 104
Branch analysis from position: 101
Branch analysis from position: 98
Branch analysis from position: 87
Branch analysis from position: 84
Branch analysis from position: 76
2 jumps found. (Code = 46) Position 1 = 82, Position 2 = 84
Branch analysis from position: 82
Branch analysis from position: 84
Branch analysis from position: 69
2 jumps found. (Code = 43) Position 1 = 73, Position 2 = 76
Branch analysis from position: 73
Branch analysis from position: 76
Branch analysis from position: 62
2 jumps found. (Code = 43) Position 1 = 66, Position 2 = 69
Branch analysis from position: 66
Branch analysis from position: 69
Branch analysis from position: 42
Branch analysis from position: 38
Branch analysis from position: 34
Branch analysis from position: 10
2 jumps found. (Code = 46) Position 1 = 32, Position 2 = 34
Branch analysis from position: 32
Branch analysis from position: 34
filename:       /in/oP1MB
function name:  (null)
number of ops:  116
compiled vars:  !0 = $foodbakery_var_options, !1 = $foodbakery_var_layout, !2 = $bg_color, !3 = $style_bgcol, !4 = $foodbakery_var_maintenance_page, !5 = $foodbakery_var_maintenance_check, !6 = $foodbakery_var_maintenance_header_switch
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     'do_action%28+%27foodbakery_before_header%27+%29%3B%0A%3F%3E%3C%21DOCTYPE+html%3E%0A%3Chtml+'
    3     1        INIT_FCALL_BY_NAME                                       'language_attributes'
          2        DO_FCALL                                      0          
          3        ECHO                                                     '%3E%0A++++%3Chead%3E%0A++++++++'
    6     4        BIND_GLOBAL                                              !0, 'foodbakery_var_options'
    7     5        ISSET_ISEMPTY_DIM_OBJ                         0          !0, 'foodbakery_var_layout'
          6      > JMPZ                                                     ~8, ->10
          7    >   FETCH_DIM_R                                      ~9      !0, 'foodbakery_var_layout'
          8        QM_ASSIGN                                        ~10     ~9
          9      > JMP                                                      ->11
         10    >   QM_ASSIGN                                        ~10     ''
         11    >   ASSIGN                                                   !1, ~10
    9    12        ECHO                                                     '++++++++%3Cmeta+charset%3D%22'
         13        INIT_FCALL_BY_NAME                                       'bloginfo'
         14        SEND_VAL_EX                                              'charset'
         15        DO_FCALL                                      0          
         16        ECHO                                                     '%22%3E%0A++++++++%3Cmeta+name%3D%22viewport%22+content%3D%22width%3Ddevice-width%2C+initial-scale%3D1%22%3E%0A++++++++%3Clink+rel%3D%22profile%22+href%3D%22http%3A%2F%2Fgmpg.org%2Fxfn%2F11%22%3E%0A++++++++%3Clink+rel%3D%22pingback%22+href%3D%22'
   12    17        INIT_FCALL_BY_NAME                                       'bloginfo'
         18        SEND_VAL_EX                                              'pingback_url'
         19        DO_FCALL                                      0          
         20        ECHO                                                     '%22%3E%0A++++++++'
   15    21        INIT_FCALL_BY_NAME                                       'get_post_meta'
         22        INIT_FCALL_BY_NAME                                       'get_the_id'
         23        DO_FCALL                                      0  $14     
         24        SEND_VAR_NO_REF_EX                                       $14
         25        SEND_VAL_EX                                              'foodbakery_var_page_bg_color'
         26        SEND_VAL_EX                                              <true>
         27        DO_FCALL                                      0  $15     
         28        ASSIGN                                                   !2, $15
   16    29        ASSIGN                                                   !3, ''
   17    30        ISSET_ISEMPTY_CV                                 ~18     !2
         31      > JMPZ_EX                                          ~18     ~18, ->34
         32    >   IS_NOT_EQUAL                                     ~19     !2, ''
         33        BOOL                                             ~18     ~19
         34    > > JMPZ_EX                                          ~18     ~18, ->38
         35    >   TYPE_CHECK                                  128  ~20     !2
         36        BOOL_NOT                                         ~21     ~20
         37        BOOL                                             ~18     ~21
         38    > > JMPZ                                                     ~18, ->42
   18    39    >   CONCAT                                           ~22     'style%3D%22background-color%3A', !2
         40        CONCAT                                           ~23     ~22, '%22'
         41        ASSIGN                                                   !3, ~23
   20    42    >   INIT_FCALL_BY_NAME                                       'wp_head'
         43        DO_FCALL                                      0          
   22    44        ECHO                                                     '++++%3C%2Fhead%3E%0A++++%3Cbody+'
   23    45        INIT_FCALL_BY_NAME                                       'body_class'
         46        DO_FCALL                                      0          
         47        ECHO                                                     '%3E%0A++++++++%3Cdiv+class%3D%22wrapper+wrapper-'
   24    48        INIT_FCALL_BY_NAME                                       'esc_html'
         49        SEND_VAR_EX                                              !1
         50        DO_FCALL                                      0  $27     
         51        ECHO                                                     $27
         52        ECHO                                                     '%22+'
         53        INIT_FCALL_BY_NAME                                       'esc_html'
         54        SEND_VAR_EX                                              !3
         55        DO_FCALL                                      0          
         56        ECHO                                                     '%3E%0A++++++++++++%3C%21--+Side+Menu+Start+--%3E%0A++++++++++++%3Cdiv+id%3D%22overlay%22%3E%3C%2Fdiv%3E%0A++++++++++++'
   28    57        ISSET_ISEMPTY_DIM_OBJ                         0          !0, 'foodbakery_var_maintinance_mode_page'
         58      > JMPZ                                                     ~29, ->62
         59    >   FETCH_DIM_R                                      ~30     !0, 'foodbakery_var_maintinance_mode_page'
         60        QM_ASSIGN                                        ~31     ~30
         61      > JMP                                                      ->63
         62    >   QM_ASSIGN                                        ~31     ''
         63    >   ASSIGN                                                   !4, ~31
   29    64        ISSET_ISEMPTY_DIM_OBJ                         0          !0, 'foodbakery_var_maintenance_switch'
         65      > JMPZ                                                     ~33, ->69
         66    >   FETCH_DIM_R                                      ~34     !0, 'foodbakery_var_maintenance_switch'
         67        QM_ASSIGN                                        ~35     ~34
         68      > JMP                                                      ->70
         69    >   QM_ASSIGN                                        ~35     ''
         70    >   ASSIGN                                                   !5, ~35
   30    71        ISSET_ISEMPTY_DIM_OBJ                         0          !0, 'foodbakery_var_maintenance_header_switch'
         72      > JMPZ                                                     ~37, ->76
         73    >   FETCH_DIM_R                                      ~38     !0, 'foodbakery_var_maintenance_header_switch'
         74        QM_ASSIGN                                        ~39     ~38
         75      > JMP                                                      ->77
         76    >   QM_ASSIGN                                        ~39     'off'
         77    >   ASSIGN                                                   !6, ~39
   31    78        INIT_FCALL_BY_NAME                                       'get_the_ID'
         79        DO_FCALL                                      0  $41     
         80        IS_EQUAL                                         ~42     !4, $41
         81      > JMPZ_EX                                          ~42     ~42, ->84
         82    >   IS_EQUAL                                         ~43     !5, 'on'
         83        BOOL                                             ~42     ~43
         84    > > JMPZ_EX                                          ~42     ~42, ->87
         85    >   IS_NOT_EQUAL                                     ~44     !6, 'on'
         86        BOOL                                             ~42     ~44
         87    > > JMPZ                                                     ~42, ->90
   32    88    >   ECHO                                                     '%3Cheader+id%3D%22header%22%3E%3C%2Fheader%3E'
         89      > JMP                                                      ->115
   33    90    >   INIT_FCALL_BY_NAME                                       'get_the_ID'
         91        DO_FCALL                                      0  $45     
         92        IS_NOT_EQUAL                                     ~46     $45, ''
         93      > JMPZ_EX                                          ~46     ~46, ->98
         94    >   INIT_FCALL_BY_NAME                                       'get_the_ID'
         95        DO_FCALL                                      0  $47     
         96        IS_EQUAL                                         ~48     !4, $47
         97        BOOL                                             ~46     ~48
         98    > > JMPZ_EX                                          ~46     ~46, ->101
         99    >   IS_NOT_EQUAL                                     ~49     !5, 'on'
        100        BOOL                                             ~46     ~49
        101    > > JMPZ_EX                                          ~46     ~46, ->104
        102    >   IS_NOT_EQUAL                                     ~50     !6, 'on'
        103        BOOL                                             ~46     ~50
        104    > > JMPZ                                                     ~46, ->107
   34   105    >   ECHO                                                     '%3Cheader+id%3D%22header%22%3E%3C%2Fheader%3E'
        106      > JMP                                                      ->115
   36   107    >   INIT_FCALL_BY_NAME                                       'foodbakery_main_header'
        108        DO_FCALL                                      0          
   37   109        INIT_FCALL                                               'function_exists'
        110        SEND_VAL                                                 'foodbakery_var_subheader_style'
        111        DO_ICALL                                         $52     
        112      > JMPZ                                                     $52, ->115
   38   113    >   INIT_FCALL_BY_NAME                                       'foodbakery_var_subheader_style'
        114        DO_FCALL                                      0          
   40   115    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.77 ms | 1408 KiB | 15 Q