3v4l.org

run code in 300+ PHP versions simultaneously
<?php $post_object = get_sub_field('nill_modselectevent'); if( $post_object ): // override $post $post = $post_object; setup_postdata( $post ); ?> <?php $location = get_field('nill_eventgooglemap'); if( !empty($location) ): ?> <!-- Event Post --> <div class="row nill-back-two"> <div class="container-fluid"> <div class="col-xs-12 col-sm-12 col-md-12 nill-space-four"> <div class="nillplay-modmapover"> <div class="col-xs-12 col-sm-12 col-md-12"> <div class="row"> <!-- Event Title --> <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6"> <div class="nillplay-modevent-title"> <h1><?php the_titlesmall('', '', true, 100 ) ?></h1> <h2><?php content('12'); ?></h2> <a href="<?php the_permalink() ?>" class="btn btn-inverse nillplay-modeventbtn"><?php _e( 'Read More', 'nillnews' ); ?></a> </div> </div> <!-- Event Count --> <div class="hidden-xs hidden-sm col-md-6 col-lg-6"> <div class="nillplay-modevent-title pull-right"> <h1><?php _e( 'Time', 'nillnews' ); ?></h1> <div class="nill-event-countdown-two"> <?php $date = DateTime::createFromFormat('Ymd', get_field('nill_eventtime')); ?> <div id="countdown" class="nill-event-countdown-list"></div> <script> var target_date = new Date("<?php echo $date->format('m, d, Y'); ?>").getTime(); var days, hours, minutes, seconds; var countdown = document.getElementById("countdown"); setInterval(function () { var current_date = new Date().getTime(); var seconds_left = (target_date - current_date) / 1000; days = parseInt(seconds_left / 86400); seconds_left = seconds_left % 86400; hours = parseInt(seconds_left / 3600); seconds_left = seconds_left % 3600; minutes = parseInt(seconds_left / 60); seconds = parseInt(seconds_left % 60); countdown.innerHTML = "<ul>" + "<li>" + days + "<div class='nill-counttext'>Days</div>" + "</li>" + "<li>" + hours + "<div class='nill-counttext'>Hours</div>" + "</li>" + "<li>" + minutes + "<div class='nill-counttext'>Minutes</div>" + "</li>" + "<li>" + seconds + "<div class='nill-counttext'>Seconds</div>" + "</li>" + "</ul>"; }, 1000); </script> </div> </div> </div> </div> </div> <div class="nillplay-modulevent-back"></div> <div class="acf-map" style="position:absolute; border:none; right:0; float:right; width:105%; margin-top:0px; margin-bottom:0px; padding:0; margin-left:-30px; z-index:0;"> <div class="marker" data-lat="<?php echo $location['lat']; ?>" data-lng="<?php echo $location['lng']; ?>"></div> </div> </div> </div> </div> </div> <div class="clearfix"></div> <?php endif; ?> <?php wp_reset_postdata(); ?> <?php wp_reset_query(); ?> <?php endif; ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 65
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 16, Position 2 = 61
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 61
Branch analysis from position: 65
filename:       /in/EDTG5
function name:  (null)
number of ops:  66
compiled vars:  !0 = $post_object, !1 = $post, !2 = $location, !3 = $date
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL_BY_NAME                                       'get_sub_field'
          1        SEND_VAL_EX                                              'nill_modselectevent'
          2        DO_FCALL                                      0  $4      
          3        ASSIGN                                                   !0, $4
    5     4      > JMPZ                                                     !0, ->65
    8     5    >   ASSIGN                                                   !1, !0
    9     6        INIT_FCALL_BY_NAME                                       'setup_postdata'
          7        SEND_VAR_EX                                              !1
          8        DO_FCALL                                      0          
   12     9        INIT_FCALL_BY_NAME                                       'get_field'
         10        SEND_VAL_EX                                              'nill_eventgooglemap'
         11        DO_FCALL                                      0  $8      
         12        ASSIGN                                                   !2, $8
         13        ISSET_ISEMPTY_CV                                 ~10     !2
         14        BOOL_NOT                                         ~11     ~10
         15      > JMPZ                                                     ~11, ->61
   13    16    >   ECHO                                                     '%0A%3C%21--+Event+Post+--%3E%0A%3Cdiv+class%3D%22row+nill-back-two%22%3E%0A++++%3Cdiv+class%3D%22container-fluid%22%3E%0A++++++++%0A++++++++%3Cdiv+class%3D%22col-xs-12+col-sm-12+col-md-12+nill-space-four%22%3E%0A++++++++++++%3Cdiv+class%3D%22nillplay-modmapover%22%3E%0A++++++++++++++++%3Cdiv+class%3D%22col-xs-12+col-sm-12+col-md-12%22%3E%0A%0A++++++++++++++++++++%3Cdiv+class%3D%22row%22%3E%0A++++++++++++++++++++++++%3C%21--+Event+Title+--%3E%0A++++++++++++++++++++++++%3Cdiv+class%3D%22col-xs-12+col-sm-12+col-md-6+col-lg-6%22%3E%0A++++++++++++++++++++++++++++%3Cdiv+class%3D%22nillplay-modevent-title%22%3E%0A++++++++++++++++++++++++++++++++%3Ch1%3E'
   26    17        INIT_FCALL_BY_NAME                                       'the_titlesmall'
         18        SEND_VAL_EX                                              ''
         19        SEND_VAL_EX                                              ''
         20        SEND_VAL_EX                                              <true>
         21        SEND_VAL_EX                                              100
         22        DO_FCALL                                      0          
         23        ECHO                                                     '%3C%2Fh1%3E%0A++++++++++++++++++++++++++++++++%3Ch2%3E'
   27    24        INIT_FCALL_BY_NAME                                       'content'
         25        SEND_VAL_EX                                              '12'
         26        DO_FCALL                                      0          
         27        ECHO                                                     '%3C%2Fh2%3E%0A++++++++++++++++++++++++++++++++%3Ca+href%3D%22'
   28    28        INIT_FCALL_BY_NAME                                       'the_permalink'
         29        DO_FCALL                                      0          
         30        ECHO                                                     '%22+class%3D%22btn+btn-inverse+nillplay-modeventbtn%22%3E'
         31        INIT_FCALL_BY_NAME                                       '_e'
         32        SEND_VAL_EX                                              'Read+More'
         33        SEND_VAL_EX                                              'nillnews'
         34        DO_FCALL                                      0          
         35        ECHO                                                     '%3C%2Fa%3E%0A++++++++++++++++++++++++++++%3C%2Fdiv%3E%0A++++++++++++++++++++++++%3C%2Fdiv%3E%0A%0A++++++++++++++++++++++++%3C%21--+Event+Count+--%3E%0A++++++++++++++++++++++++%3Cdiv+class%3D%22hidden-xs+hidden-sm+col-md-6+col-lg-6%22%3E%0A++++++++++++++++++++++++++++%3Cdiv+class%3D%22nillplay-modevent-title+pull-right%22%3E%0A++++++++++++++++++++++++++++++++%3Ch1%3E'
   35    36        INIT_FCALL_BY_NAME                                       '_e'
         37        SEND_VAL_EX                                              'Time'
         38        SEND_VAL_EX                                              'nillnews'
         39        DO_FCALL                                      0          
         40        ECHO                                                     '%3C%2Fh1%3E%0A%0A++++++++++++++++++++++++++++++++%3Cdiv+class%3D%22nill-event-countdown-two%22%3E%0A++++++++++++++++++++++++++++++++++++'
   38    41        INIT_STATIC_METHOD_CALL                                  'DateTime', 'createFromFormat'
         42        SEND_VAL                                                 'Ymd'
         43        INIT_FCALL_BY_NAME                                       'get_field'
         44        SEND_VAL_EX                                              'nill_eventtime'
         45        DO_FCALL                                      0  $17     
         46        SEND_VAR                                                 $17
         47        DO_FCALL                                      0  $18     
         48        ASSIGN                                                   !3, $18
   39    49        ECHO                                                     '++++++++++++++++++++++++++++++++++++%3Cdiv+id%3D%22countdown%22+class%3D%22nill-event-countdown-list%22%3E%3C%2Fdiv%3E%0A++++++++++++++++++++++++++++++++++++%3Cscript%3E%0A++++++++++++++++++++++++++++++++++++++++var+target_date+%3D+new+Date%28%22'
   41    50        INIT_METHOD_CALL                                         !3, 'format'
         51        SEND_VAL_EX                                              'm%2C+d%2C+Y'
         52        DO_FCALL                                      0  $20     
         53        ECHO                                                     $20
         54        ECHO                                                     '%22%29.getTime%28%29%3B%0A++++++++++++++++++++++++++++++++++++++++var+days%2C+hours%2C+minutes%2C+seconds%3B%0A++++++++++++++++++++++++++++++++++++++++var+countdown+%3D+document.getElementById%28%22countdown%22%29%3B%0A++++++++++++++++++++++++++++++++++++++++setInterval%28function+%28%29+%7B%0A++++++++++++++++++++++++++++++++++++++++++++var+current_date+%3D+new+Date%28%29.getTime%28%29%3B%0A++++++++++++++++++++++++++++++++++++++++++++var+seconds_left+%3D+%28target_date+-+current_date%29+%2F+1000%3B%0A++++++++++++++++++++++++++++++++++++++++++++days+%3D+parseInt%28seconds_left+%2F+86400%29%3B%0A++++++++++++++++++++++++++++++++++++++++++++seconds_left+%3D+seconds_left+%25+86400%3B%0A++++++++++++++++++++++++++++++++++++++++++++hours+%3D+parseInt%28seconds_left+%2F+3600%29%3B%0A++++++++++++++++++++++++++++++++++++++++++++seconds_left+%3D+seconds_left+%25+3600%3B%0A++++++++++++++++++++++++++++++++++++++++++++minutes+%3D+parseInt%28seconds_left+%2F+60%29%3B%0A++++++++++++++++++++++++++++++++++++++++++++seconds+%3D+parseInt%28seconds_left+%25+60%29%3B%0A++++++++++++++++++++++++++++++++++++++++++++countdown.innerHTML+%3D+%0A++++++++++++++++++++++++++++++++++++++++++++%22%3Cul%3E%22+%2B+%0A++++++++++++++++++++++++++++++++++++++++++++%22%3Cli%3E%22+%2B+days+%2B+%22%3Cdiv+class%3D%27nill-counttext%27%3EDays%3C%2Fdiv%3E%22+%2B+%22%3C%2Fli%3E%22+%2B+%0A++++++++++++++++++++++++++++++++++++++++++++%22%3Cli%3E%22+%2B+hours+%2B+%22%3Cdiv+class%3D%27nill-counttext%27%3EHours%3C%2Fdiv%3E%22+%2B+%22%3C%2Fli%3E%22+%2B%0A++++++++++++++++++++++++++++++++++++++++++++%22%3Cli%3E%22+%2B+minutes+%2B+%22%3Cdiv+class%3D%27nill-counttext%27%3EMinutes%3C%2Fdiv%3E%22+%2B+%22%3C%2Fli%3E%22+%2B%0A++++++++++++++++++++++++++++++++++++++++++++%22%3Cli%3E%22+%2B+seconds+%2B+%22%3Cdiv+class%3D%27nill-counttext%27%3ESeconds%3C%2Fdiv%3E%22+%2B+%22%3C%2Fli%3E%22+%2B+%0A++++++++++++++++++++++++++++++++++++++++++++%22%3C%2Ful%3E%22%3B++%0A++++++++++++++++++++++++++++++++++++++++%7D%2C+1000%29%3B%0A++++++++++++++++++++++++++++++++++++%3C%2Fscript%3E%0A++++++++++++++++++++++++++++++++%3C%2Fdiv%3E%0A%0A++++++++++++++++++++++++++++%3C%2Fdiv%3E%0A++++++++++++++++++++++++%3C%2Fdiv%3E%0A++++++++++++++++++++%3C%2Fdiv%3E%0A%0A++++++++++++++++%3C%2Fdiv%3E%0A%0A++++++++++++++++%3Cdiv+class%3D%22nillplay-modulevent-back%22%3E%3C%2Fdiv%3E%0A%0A++++++++++++++++%3Cdiv+class%3D%22acf-map%22+style%3D%22position%3Aabsolute%3B+border%3Anone%3B+right%3A0%3B+float%3Aright%3B+width%3A105%25%3B+margin-top%3A0px%3B+margin-bottom%3A0px%3B+padding%3A0%3B+margin-left%3A-30px%3B+z-index%3A0%3B%22%3E%0A++++++++++++++++++++%3Cdiv+class%3D%22marker%22+data-lat%3D%22'
   73    55        FETCH_DIM_R                                      ~21     !2, 'lat'
         56        ECHO                                                     ~21
         57        ECHO                                                     '%22+data-lng%3D%22'
         58        FETCH_DIM_R                                      ~22     !2, 'lng'
         59        ECHO                                                     ~22
         60        ECHO                                                     '%22%3E%3C%2Fdiv%3E%0A++++++++++++++++%3C%2Fdiv%3E%0A%0A++++++++++++%3C%2Fdiv%3E%0A++++++++%3C%2Fdiv%3E++++%0A%0A++++%3C%2Fdiv%3E%0A%3C%2Fdiv%3E%0A%0A%3Cdiv+class%3D%22clearfix%22%3E%3C%2Fdiv%3E%0A%0A'
   85    61    >   INIT_FCALL_BY_NAME                                       'wp_reset_postdata'
         62        DO_FCALL                                      0          
   86    63        INIT_FCALL_BY_NAME                                       'wp_reset_query'
         64        DO_FCALL                                      0          
   87    65    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.17 ms | 1403 KiB | 13 Q