3v4l.org

run code in 300+ PHP versions simultaneously
<?php /** * @package WordPress * @subpackage Default_Theme */ get_header(); ?> <div id="content" class="narrowcolumn" role="main"> <?php if (have_posts()) : ?> <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?> <?php /* If this is a category archive */ if (is_category()) { ?> <h1 id="archive_title"><?php printf( __('Archive for the &#8216;<span>%1$s</span>&#8217; Category', 'canoe-default'), single_cat_title('', false) ); ?></h1> <?php /* If this is a tag archive */ } elseif( is_tag() ) { ?> <h1 id="archive_title"><?php printf( __('Posts Tagged &#8216;<span>%1$s</span>&#8217;', 'canoe-default'), single_tag_title('', false) ); ?></h1> <?php /* If this is a daily archive */ } elseif (is_day()) { ?> <h1 id="archive_title"><?php printf( __('Archive for %1$s', 'canoe-default'), get_the_time(__('F jS, Y', 'canoe-default')) ); ?></h1> <?php /* If this is a monthly archive */ } elseif (is_month()) { ?> <h1 id="archive_title"><?php printf( __('Archive for %1$s', 'canoe-default'), get_the_time(__('F, Y', 'canoe-default')) ); ?></h1> <?php /* If this is a yearly archive */ } elseif (is_year()) { ?> <h1 id="archive_title"><?php printf( __('Archive for %1$s', 'canoe-default'), get_the_time(__('Y', 'canoe-default')) ); ?></h1> <?php /* If this is an author archive */ } elseif (is_author()) { ?> <h1 id="archive_title"><?php _e('Author Archive', 'canoe-default'); ?></h1> <?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?> <h1 id="archive_title"><?php _e('Blog Archives', 'canoe-default'); ?></h1> <?php } ?> <?php while (have_posts()) : the_post(); $count_post++; ?> <? if( $count_post==1 && is_author() && $description = get_the_author_meta( "description", $post->post_author) ) : ?> <div id="archive-biography"> <h2><? _e('About', 'canoe-default'); ?> &#8216;<span><?= get_the_author_meta( "display_name", $post->post_author) ?></span>&#8217;</h2> <p><?= $description ?></p> </div> <? endif ?> <div <?php post_class() ?> id="post-<?php the_ID(); ?>"> <? display_custom_thumb(); ?> <h2><a href="<? the_permalink() ?>" rel="bookmark" title="<? the_title_attribute(); ?>"><? the_title(); ?></a></h2> <? display_custom_author() ?> <div class="entry"> <?php the_content(__('Read more...', 'canoe-default')); ?> <p class="postmetadata"><?php the_tags('Tags: ', ', ', '<br />'); ?> <?php _e('Categories: ', 'canoe-default'); ?><?php the_category(', ') ?> | <?php edit_post_link(__('Edit', 'canoe-default'), '', ' | '); ?> <?php comments_popup_link(__('No comments', 'canoe-default'), __('1 comment', 'canoe-default'), __('% comments', 'canoe-default'), 'comments_link', __('Comments off', 'canoe-default')); ?></p> </div> </div> <?php endwhile; ?> <div class="navigation navigation_posts"> <div class="alignleft"><?php next_posts_link(__('&laquo; Older Entries', 'canoe-default')) ?></div> <div class="alignright"><?php previous_posts_link(__('Newer Entries &raquo;', 'canoe-default')) ?></div> </div> <?php else : _e('Sorry, no posts matched your criteria.', 'canoe-default'); get_search_form(); endif; ?> </div> <?php get_sidebar(); ?> <?php get_footer();
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 269
Branch analysis from position: 6
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 28
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 133
Branch analysis from position: 133
1 jumps found. (Code = 42) Position 1 = 248
Branch analysis from position: 248
2 jumps found. (Code = 44) Position 1 = 251, Position 2 = 135
Branch analysis from position: 251
1 jumps found. (Code = 42) Position 1 = 275
Branch analysis from position: 275
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 135
2 jumps found. (Code = 46) Position 1 = 141, Position 2 = 144
Branch analysis from position: 141
2 jumps found. (Code = 46) Position 1 = 145, Position 2 = 153
Branch analysis from position: 145
2 jumps found. (Code = 43) Position 1 = 154, Position 2 = 170
Branch analysis from position: 154
2 jumps found. (Code = 44) Position 1 = 251, Position 2 = 135
Branch analysis from position: 251
Branch analysis from position: 135
Branch analysis from position: 170
Branch analysis from position: 153
Branch analysis from position: 144
Branch analysis from position: 28
2 jumps found. (Code = 43) Position 1 = 31, Position 2 = 46
Branch analysis from position: 31
1 jumps found. (Code = 42) Position 1 = 133
Branch analysis from position: 133
Branch analysis from position: 46
2 jumps found. (Code = 43) Position 1 = 49, Position 2 = 67
Branch analysis from position: 49
1 jumps found. (Code = 42) Position 1 = 133
Branch analysis from position: 133
Branch analysis from position: 67
2 jumps found. (Code = 43) Position 1 = 70, Position 2 = 88
Branch analysis from position: 70
1 jumps found. (Code = 42) Position 1 = 133
Branch analysis from position: 133
Branch analysis from position: 88
2 jumps found. (Code = 43) Position 1 = 91, Position 2 = 109
Branch analysis from position: 91
1 jumps found. (Code = 42) Position 1 = 133
Branch analysis from position: 133
Branch analysis from position: 109
2 jumps found. (Code = 43) Position 1 = 112, Position 2 = 119
Branch analysis from position: 112
1 jumps found. (Code = 42) Position 1 = 133
Branch analysis from position: 133
Branch analysis from position: 119
2 jumps found. (Code = 46) Position 1 = 122, Position 2 = 126
Branch analysis from position: 122
2 jumps found. (Code = 43) Position 1 = 127, Position 2 = 133
Branch analysis from position: 127
1 jumps found. (Code = 42) Position 1 = 248
Branch analysis from position: 248
Branch analysis from position: 133
Branch analysis from position: 126
Branch analysis from position: 269
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/gK8OO
function name:  (null)
number of ops:  282
compiled vars:  !0 = $post, !1 = $posts, !2 = $count_post, !3 = $description
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   INIT_FCALL_BY_NAME                                       'get_header'
          1        DO_FCALL                                      0          
    8     2        ECHO                                                     '%0A%3Cdiv+id%3D%22content%22+class%3D%22narrowcolumn%22+role%3D%22main%22%3E%0A++'
   10     3        INIT_FCALL_BY_NAME                                       'have_posts'
          4        DO_FCALL                                      0  $5      
          5      > JMPZ                                                     $5, ->269
   11     6    >   ECHO                                                     '%0A++++'
   12     7        FETCH_DIM_R                                      ~6      !1, 0
          8        ASSIGN                                                   !0, ~6
   13     9        ECHO                                                     '+++%0A++++'
   14    10        INIT_FCALL_BY_NAME                                       'is_category'
         11        DO_FCALL                                      0  $8      
         12      > JMPZ                                                     $8, ->28
   15    13    >   ECHO                                                     '++++++%3Ch1+id%3D%22archive_title%22%3E'
         14        INIT_FCALL                                               'printf'
         15        INIT_FCALL_BY_NAME                                       '__'
         16        SEND_VAL_EX                                              'Archive+for+the+%26%238216%3B%3Cspan%3E%251%24s%3C%2Fspan%3E%26%238217%3B+Category'
         17        SEND_VAL_EX                                              'canoe-default'
         18        DO_FCALL                                      0  $9      
         19        SEND_VAR                                                 $9
         20        INIT_FCALL_BY_NAME                                       'single_cat_title'
         21        SEND_VAL_EX                                              ''
         22        SEND_VAL_EX                                              <false>
         23        DO_FCALL                                      0  $10     
         24        SEND_VAR                                                 $10
         25        DO_ICALL                                                 
         26        ECHO                                                     '%3C%2Fh1%3E%0A++++%0A++++'
         27      > JMP                                                      ->133
   17    28    >   INIT_FCALL_BY_NAME                                       'is_tag'
         29        DO_FCALL                                      0  $12     
         30      > JMPZ                                                     $12, ->46
   18    31    >   ECHO                                                     '++++++%3Ch1+id%3D%22archive_title%22%3E'
         32        INIT_FCALL                                               'printf'
         33        INIT_FCALL_BY_NAME                                       '__'
         34        SEND_VAL_EX                                              'Posts+Tagged+%26%238216%3B%3Cspan%3E%251%24s%3C%2Fspan%3E%26%238217%3B'
         35        SEND_VAL_EX                                              'canoe-default'
         36        DO_FCALL                                      0  $13     
         37        SEND_VAR                                                 $13
         38        INIT_FCALL_BY_NAME                                       'single_tag_title'
         39        SEND_VAL_EX                                              ''
         40        SEND_VAL_EX                                              <false>
         41        DO_FCALL                                      0  $14     
         42        SEND_VAR                                                 $14
         43        DO_ICALL                                                 
         44        ECHO                                                     '%3C%2Fh1%3E%0A++++%0A++++'
         45      > JMP                                                      ->133
   20    46    >   INIT_FCALL_BY_NAME                                       'is_day'
         47        DO_FCALL                                      0  $16     
         48      > JMPZ                                                     $16, ->67
   21    49    >   ECHO                                                     '++++++%3Ch1+id%3D%22archive_title%22%3E'
         50        INIT_FCALL                                               'printf'
         51        INIT_FCALL_BY_NAME                                       '__'
         52        SEND_VAL_EX                                              'Archive+for+%251%24s'
         53        SEND_VAL_EX                                              'canoe-default'
         54        DO_FCALL                                      0  $17     
         55        SEND_VAR                                                 $17
         56        INIT_FCALL_BY_NAME                                       'get_the_time'
         57        INIT_FCALL_BY_NAME                                       '__'
         58        SEND_VAL_EX                                              'F+jS%2C+Y'
         59        SEND_VAL_EX                                              'canoe-default'
         60        DO_FCALL                                      0  $18     
         61        SEND_VAR_NO_REF_EX                                       $18
         62        DO_FCALL                                      0  $19     
         63        SEND_VAR                                                 $19
         64        DO_ICALL                                                 
         65        ECHO                                                     '%3C%2Fh1%3E%0A++++%0A++++'
         66      > JMP                                                      ->133
   23    67    >   INIT_FCALL_BY_NAME                                       'is_month'
         68        DO_FCALL                                      0  $21     
         69      > JMPZ                                                     $21, ->88
   24    70    >   ECHO                                                     '++++++%3Ch1+id%3D%22archive_title%22%3E'
         71        INIT_FCALL                                               'printf'
         72        INIT_FCALL_BY_NAME                                       '__'
         73        SEND_VAL_EX                                              'Archive+for+%251%24s'
         74        SEND_VAL_EX                                              'canoe-default'
         75        DO_FCALL                                      0  $22     
         76        SEND_VAR                                                 $22
         77        INIT_FCALL_BY_NAME                                       'get_the_time'
         78        INIT_FCALL_BY_NAME                                       '__'
         79        SEND_VAL_EX                                              'F%2C+Y'
         80        SEND_VAL_EX                                              'canoe-default'
         81        DO_FCALL                                      0  $23     
         82        SEND_VAR_NO_REF_EX                                       $23
         83        DO_FCALL                                      0  $24     
         84        SEND_VAR                                                 $24
         85        DO_ICALL                                                 
         86        ECHO                                                     '%3C%2Fh1%3E%0A++++%0A++++'
         87      > JMP                                                      ->133
   26    88    >   INIT_FCALL_BY_NAME                                       'is_year'
         89        DO_FCALL                                      0  $26     
         90      > JMPZ                                                     $26, ->109
   27    91    >   ECHO                                                     '++++++%3Ch1+id%3D%22archive_title%22%3E'
         92        INIT_FCALL                                               'printf'
         93        INIT_FCALL_BY_NAME                                       '__'
         94        SEND_VAL_EX                                              'Archive+for+%251%24s'
         95        SEND_VAL_EX                                              'canoe-default'
         96        DO_FCALL                                      0  $27     
         97        SEND_VAR                                                 $27
         98        INIT_FCALL_BY_NAME                                       'get_the_time'
         99        INIT_FCALL_BY_NAME                                       '__'
        100        SEND_VAL_EX                                              'Y'
        101        SEND_VAL_EX                                              'canoe-default'
        102        DO_FCALL                                      0  $28     
        103        SEND_VAR_NO_REF_EX                                       $28
        104        DO_FCALL                                      0  $29     
        105        SEND_VAR                                                 $29
        106        DO_ICALL                                                 
        107        ECHO                                                     '%3C%2Fh1%3E%0A++++%0A++++'
        108      > JMP                                                      ->133
   29   109    >   INIT_FCALL_BY_NAME                                       'is_author'
        110        DO_FCALL                                      0  $31     
        111      > JMPZ                                                     $31, ->119
   30   112    >   ECHO                                                     '++++++%3Ch1+id%3D%22archive_title%22%3E'
        113        INIT_FCALL_BY_NAME                                       '_e'
        114        SEND_VAL_EX                                              'Author+Archive'
        115        SEND_VAL_EX                                              'canoe-default'
        116        DO_FCALL                                      0          
        117        ECHO                                                     '%3C%2Fh1%3E%0A++++%0A++++'
        118      > JMP                                                      ->133
   32   119    >   FETCH_IS                                         ~33     '_GET'
        120        ISSET_ISEMPTY_DIM_OBJ                         0  ~34     ~33, 'paged'
        121      > JMPZ_EX                                          ~34     ~34, ->126
        122    >   FETCH_IS                                         ~35     '_GET'
        123        ISSET_ISEMPTY_DIM_OBJ                         1  ~36     ~35, 'paged'
        124        BOOL_NOT                                         ~37     ~36
        125        BOOL                                             ~34     ~37
        126    > > JMPZ                                                     ~34, ->133
   33   127    >   ECHO                                                     '++++++%3Ch1+id%3D%22archive_title%22%3E'
        128        INIT_FCALL_BY_NAME                                       '_e'
        129        SEND_VAL_EX                                              'Blog+Archives'
        130        SEND_VAL_EX                                              'canoe-default'
        131        DO_FCALL                                      0          
        132        ECHO                                                     '%3C%2Fh1%3E%0A++++'
   35   133    >   ECHO                                                     '++++%0A++++'
   36   134      > JMP                                                      ->248
        135    >   INIT_FCALL_BY_NAME                                       'the_post'
        136        DO_FCALL                                      0          
        137        PRE_INC                                                  !2
   37   138        ECHO                                                     '++%0A++++++'
   38   139        IS_EQUAL                                         ~41     !2, 1
        140      > JMPZ_EX                                          ~41     ~41, ->144
        141    >   INIT_FCALL_BY_NAME                                       'is_author'
        142        DO_FCALL                                      0  $42     
        143        BOOL                                             ~41     $42
        144    > > JMPZ_EX                                          ~41     ~41, ->153
        145    >   INIT_FCALL_BY_NAME                                       'get_the_author_meta'
        146        SEND_VAL_EX                                              'description'
        147        CHECK_FUNC_ARG                                           
        148        FETCH_OBJ_FUNC_ARG                               $43     !0, 'post_author'
        149        SEND_FUNC_ARG                                            $43
        150        DO_FCALL                                      0  $44     
        151        ASSIGN                                           ~45     !3, $44
        152        BOOL                                             ~41     ~45
        153    > > JMPZ                                                     ~41, ->170
   39   154    >   ECHO                                                     '++++++++%3Cdiv+id%3D%22archive-biography%22%3E%0A++++++++++%0A++++++++++%3Ch2%3E'
   41   155        INIT_FCALL_BY_NAME                                       '_e'
        156        SEND_VAL_EX                                              'About'
        157        SEND_VAL_EX                                              'canoe-default'
        158        DO_FCALL                                      0          
        159        ECHO                                                     '+%26%238216%3B%3Cspan%3E'
        160        INIT_FCALL_BY_NAME                                       'get_the_author_meta'
        161        SEND_VAL_EX                                              'display_name'
        162        CHECK_FUNC_ARG                                           
        163        FETCH_OBJ_FUNC_ARG                               $47     !0, 'post_author'
        164        SEND_FUNC_ARG                                            $47
        165        DO_FCALL                                      0  $48     
        166        ECHO                                                     $48
        167        ECHO                                                     '%3C%2Fspan%3E%26%238217%3B%3C%2Fh2%3E%0A++++++++++%0A++++++++++%3Cp%3E'
   43   168        ECHO                                                     !3
        169        ECHO                                                     '%3C%2Fp%3E%0A++++++++++%0A++++++++%3C%2Fdiv%3E%0A++++++'
   47   170    >   ECHO                                                     '++++++%0A++++++%3Cdiv+'
   48   171        INIT_FCALL_BY_NAME                                       'post_class'
        172        DO_FCALL                                      0          
        173        ECHO                                                     '+id%3D%22post-'
        174        INIT_FCALL_BY_NAME                                       'the_ID'
        175        DO_FCALL                                      0          
        176        ECHO                                                     '%22%3E%0A++++++++%0A++++++++'
   50   177        INIT_FCALL_BY_NAME                                       'display_custom_thumb'
        178        DO_FCALL                                      0          
   51   179        ECHO                                                     '++++++++%0A++++++++%3Ch2%3E%3Ca+href%3D%22'
   52   180        INIT_FCALL_BY_NAME                                       'the_permalink'
        181        DO_FCALL                                      0          
        182        ECHO                                                     '%22+rel%3D%22bookmark%22+title%3D%22'
        183        INIT_FCALL_BY_NAME                                       'the_title_attribute'
        184        DO_FCALL                                      0          
        185        ECHO                                                     '%22%3E'
        186        INIT_FCALL_BY_NAME                                       'the_title'
        187        DO_FCALL                                      0          
        188        ECHO                                                     '%3C%2Fa%3E%3C%2Fh2%3E%0A++++++++%0A++++++++'
   54   189        INIT_FCALL_BY_NAME                                       'display_custom_author'
        190        DO_FCALL                                      0          
   55   191        ECHO                                                     '++++++++%0A++++++++%3Cdiv+class%3D%22entry%22%3E%0A++++++++++'
   57   192        INIT_FCALL_BY_NAME                                       'the_content'
        193        INIT_FCALL_BY_NAME                                       '__'
        194        SEND_VAL_EX                                              'Read+more...'
        195        SEND_VAL_EX                                              'canoe-default'
        196        DO_FCALL                                      0  $56     
        197        SEND_VAR_NO_REF_EX                                       $56
        198        DO_FCALL                                      0          
   58   199        ECHO                                                     '++++++++++%3Cp+class%3D%22postmetadata%22%3E'
        200        INIT_FCALL_BY_NAME                                       'the_tags'
        201        SEND_VAL_EX                                              'Tags%3A+'
        202        SEND_VAL_EX                                              '%2C+'
        203        SEND_VAL_EX                                              '%3Cbr+%2F%3E'
        204        DO_FCALL                                      0          
        205        ECHO                                                     '+'
        206        INIT_FCALL_BY_NAME                                       '_e'
        207        SEND_VAL_EX                                              'Categories%3A+'
        208        SEND_VAL_EX                                              'canoe-default'
        209        DO_FCALL                                      0          
        210        INIT_FCALL_BY_NAME                                       'the_category'
        211        SEND_VAL_EX                                              '%2C+'
        212        DO_FCALL                                      0          
        213        ECHO                                                     '+%7C+'
        214        INIT_FCALL_BY_NAME                                       'edit_post_link'
        215        INIT_FCALL_BY_NAME                                       '__'
        216        SEND_VAL_EX                                              'Edit'
        217        SEND_VAL_EX                                              'canoe-default'
        218        DO_FCALL                                      0  $61     
        219        SEND_VAR_NO_REF_EX                                       $61
        220        SEND_VAL_EX                                              ''
        221        SEND_VAL_EX                                              '+%7C+'
        222        DO_FCALL                                      0          
        223        ECHO                                                     '++'
        224        INIT_FCALL_BY_NAME                                       'comments_popup_link'
        225        INIT_FCALL_BY_NAME                                       '__'
        226        SEND_VAL_EX                                              'No+comments'
        227        SEND_VAL_EX                                              'canoe-default'
        228        DO_FCALL                                      0  $63     
        229        SEND_VAR_NO_REF_EX                                       $63
        230        INIT_FCALL_BY_NAME                                       '__'
        231        SEND_VAL_EX                                              '1+comment'
        232        SEND_VAL_EX                                              'canoe-default'
        233        DO_FCALL                                      0  $64     
        234        SEND_VAR_NO_REF_EX                                       $64
        235        INIT_FCALL_BY_NAME                                       '__'
        236        SEND_VAL_EX                                              '%25+comments'
        237        SEND_VAL_EX                                              'canoe-default'
        238        DO_FCALL                                      0  $65     
        239        SEND_VAR_NO_REF_EX                                       $65
        240        SEND_VAL_EX                                              'comments_link'
        241        INIT_FCALL_BY_NAME                                       '__'
        242        SEND_VAL_EX                                              'Comments+off'
        243        SEND_VAL_EX                                              'canoe-default'
        244        DO_FCALL                                      0  $66     
        245        SEND_VAR_NO_REF_EX                                       $66
        246        DO_FCALL                                      0          
        247        ECHO                                                     '%3C%2Fp%3E%0A++++++++%3C%2Fdiv%3E%0A++++++++%0A++++++%3C%2Fdiv%3E%0A++++'
   36   248    >   INIT_FCALL_BY_NAME                                       'have_posts'
        249        DO_FCALL                                      0  $68     
        250      > JMPNZ                                                    $68, ->135
   63   251    >   ECHO                                                     '%0A++++%3Cdiv+class%3D%22navigation+navigation_posts%22%3E%0A++++++%3Cdiv+class%3D%22alignleft%22%3E'
   65   252        INIT_FCALL_BY_NAME                                       'next_posts_link'
        253        INIT_FCALL_BY_NAME                                       '__'
        254        SEND_VAL_EX                                              '%26laquo%3B+Older+Entries'
        255        SEND_VAL_EX                                              'canoe-default'
        256        DO_FCALL                                      0  $69     
        257        SEND_VAR_NO_REF_EX                                       $69
        258        DO_FCALL                                      0          
        259        ECHO                                                     '%3C%2Fdiv%3E%0A++++++%3Cdiv+class%3D%22alignright%22%3E'
   66   260        INIT_FCALL_BY_NAME                                       'previous_posts_link'
        261        INIT_FCALL_BY_NAME                                       '__'
        262        SEND_VAL_EX                                              'Newer+Entries+%26raquo%3B'
        263        SEND_VAL_EX                                              'canoe-default'
        264        DO_FCALL                                      0  $71     
        265        SEND_VAR_NO_REF_EX                                       $71
        266        DO_FCALL                                      0          
        267        ECHO                                                     '%3C%2Fdiv%3E%0A++++%3C%2Fdiv%3E%0A%0A++'
        268      > JMP                                                      ->275
   70   269    >   INIT_FCALL_BY_NAME                                       '_e'
        270        SEND_VAL_EX                                              'Sorry%2C+no+posts+matched+your+criteria.'
        271        SEND_VAL_EX                                              'canoe-default'
        272        DO_FCALL                                      0          
   71   273        INIT_FCALL_BY_NAME                                       'get_search_form'
        274        DO_FCALL                                      0          
   74   275    >   ECHO                                                     '%3C%2Fdiv%3E%0A%0A'
   76   276        INIT_FCALL_BY_NAME                                       'get_sidebar'
        277        DO_FCALL                                      0          
   77   278        ECHO                                                     '%0A'
   78   279        INIT_FCALL_BY_NAME                                       'get_footer'
        280        DO_FCALL                                      0          
        281      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.81 ms | 1420 KiB | 15 Q