3v4l.org

run code in 300+ PHP versions simultaneously
<?php /** * Week View List Loop * This file sets up the structure for the week view list loop * * @package TribeEventsCalendar * */ if ( !defined('ABSPATH') ) { die('-1'); } ?> <?php tribe_events_week_set_loop_type( 'hourly' ); ?> <div class="events-list-view"> <?php while ( tribe_events_week_have_days() ) : tribe_events_week_the_day(); ?> <?php if (tribe_events_current_week_day_has_events()) : ?> <div id="<?php tribe_events_week_get_the_date(); ?>" class="day-wrapper"> <?php // Header ?> <span class="tribe-events-list-separator-day"> <span><?php echo get_formatted_date_title(tribe_events_week_get_the_date(false)); ?></span> </span> <?php // Events loop ?> <?php foreach ( tribe_events_week_get_hourly() as $event ) : if ( tribe_events_week_setup_event($event) ) : ?> <div id="post-<?php the_ID() ?>" class="list-item event"> <?php tribe_get_template_part( 'list/single', 'event' ) ?> </div> <?php endif; endforeach; ?> </div> <?php endif; endwhile; ?> </div>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 4
Branch analysis from position: 3
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 50
Branch analysis from position: 50
2 jumps found. (Code = 44) Position 1 = 53, Position 2 = 10
Branch analysis from position: 53
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
2 jumps found. (Code = 43) Position 1 = 16, Position 2 = 50
Branch analysis from position: 16
2 jumps found. (Code = 77) Position 1 = 33, Position 2 = 48
Branch analysis from position: 33
2 jumps found. (Code = 78) Position 1 = 34, Position 2 = 48
Branch analysis from position: 34
2 jumps found. (Code = 43) Position 1 = 38, Position 2 = 47
Branch analysis from position: 38
1 jumps found. (Code = 42) Position 1 = 33
Branch analysis from position: 33
Branch analysis from position: 47
Branch analysis from position: 48
2 jumps found. (Code = 44) Position 1 = 53, Position 2 = 10
Branch analysis from position: 53
Branch analysis from position: 10
Branch analysis from position: 48
Branch analysis from position: 50
filename:       /in/1LuN6
function name:  (null)
number of ops:  55
compiled vars:  !0 = $event
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   DEFINED                                          ~1      'ABSPATH'
          1        BOOL_NOT                                         ~2      ~1
          2      > JMPZ                                                     ~2, ->4
          3    > > EXIT                                                     '-1'
   11     4    >   ECHO                                                     '%0A'
   12     5        INIT_FCALL_BY_NAME                                       'tribe_events_week_set_loop_type'
          6        SEND_VAL_EX                                              'hourly'
          7        DO_FCALL                                      0          
   13     8        ECHO                                                     '%3Cdiv+class%3D%22events-list-view%22%3E%0A%09%0A%09'
   15     9      > JMP                                                      ->50
         10    >   INIT_FCALL_BY_NAME                                       'tribe_events_week_the_day'
         11        DO_FCALL                                      0          
   16    12        ECHO                                                     '%09'
         13        INIT_FCALL_BY_NAME                                       'tribe_events_current_week_day_has_events'
         14        DO_FCALL                                      0  $5      
         15      > JMPZ                                                     $5, ->50
   17    16    >   ECHO                                                     '%09%3Cdiv+id%3D%22'
         17        INIT_FCALL_BY_NAME                                       'tribe_events_week_get_the_date'
         18        DO_FCALL                                      0          
         19        ECHO                                                     '%22+class%3D%22day-wrapper%22%3E%0A%09%09'
   19    20        ECHO                                                     '%09%09%3Cspan+class%3D%22tribe-events-list-separator-day%22%3E%0A%09%09%09%3Cspan%3E'
   20    21        INIT_FCALL_BY_NAME                                       'get_formatted_date_title'
         22        INIT_FCALL_BY_NAME                                       'tribe_events_week_get_the_date'
         23        SEND_VAL_EX                                              <false>
         24        DO_FCALL                                      0  $7      
         25        SEND_VAR_NO_REF_EX                                       $7
         26        DO_FCALL                                      0  $8      
         27        ECHO                                                     $8
         28        ECHO                                                     '%3C%2Fspan%3E%0A%09%09%3C%2Fspan%3E%0A%0A%09%09'
   24    29        ECHO                                                     '%09%09'
         30        INIT_FCALL_BY_NAME                                       'tribe_events_week_get_hourly'
         31        DO_FCALL                                      0  $9      
         32      > FE_RESET_R                                       $10     $9, ->48
         33    > > FE_FETCH_R                                               $10, !0, ->48
         34    >   INIT_FCALL_BY_NAME                                       'tribe_events_week_setup_event'
         35        SEND_VAR_EX                                              !0
         36        DO_FCALL                                      0  $11     
         37      > JMPZ                                                     $11, ->47
   25    38    >   ECHO                                                     '%09%09%09%3Cdiv+id%3D%22post-'
         39        INIT_FCALL_BY_NAME                                       'the_ID'
         40        DO_FCALL                                      0          
         41        ECHO                                                     '%22+class%3D%22list-item+event%22%3E%0A%09%09%09%09'
   26    42        INIT_FCALL_BY_NAME                                       'tribe_get_template_part'
         43        SEND_VAL_EX                                              'list%2Fsingle'
         44        SEND_VAL_EX                                              'event'
         45        DO_FCALL                                      0          
   27    46        ECHO                                                     '%09%09%09%3C%2Fdiv%3E%0A%09%09'
   24    47    > > JMP                                                      ->33
         48    >   FE_FREE                                                  $10
   29    49        ECHO                                                     '%09%3C%2Fdiv%3E%0A%09'
   15    50    >   INIT_FCALL_BY_NAME                                       'tribe_events_week_have_days'
         51        DO_FCALL                                      0  $14     
         52      > JMPNZ                                                    $14, ->10
   31    53    >   ECHO                                                     '%3C%2Fdiv%3E'
         54      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.57 ms | 1403 KiB | 13 Q