3v4l.org

run code in 300+ PHP versions simultaneously
<?php date_default_timezone_set('Europe/Moscow'); $date_format = "d.m.Y H:m:s"; $dat = strtotime('now'); $s = date($date_format, $dat); echo('now = '.$s."\n"); $che = strtotime('31.05.2013 23:59:59'); if($dat >= $che) { echo($dat.' >= '.$che.' меняем баннеры'); }else{ echo($dat.' < '.$che); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 22, Position 2 = 27
Branch analysis from position: 22
1 jumps found. (Code = 42) Position 1 = 30
Branch analysis from position: 30
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 27
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0Q5sd
function name:  (null)
number of ops:  31
compiled vars:  !0 = $date_format, !1 = $dat, !2 = $s, !3 = $che
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'date_default_timezone_set'
          1        SEND_VAL                                                 'Europe%2FMoscow'
          2        DO_ICALL                                                 
    3     3        ASSIGN                                                   !0, 'd.m.Y+H%3Am%3As'
    6     4        INIT_FCALL                                               'strtotime'
          5        SEND_VAL                                                 'now'
          6        DO_ICALL                                         $6      
          7        ASSIGN                                                   !1, $6
    7     8        INIT_FCALL                                               'date'
          9        SEND_VAR                                                 !0
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                         $8      
         12        ASSIGN                                                   !2, $8
    8    13        CONCAT                                           ~10     'now+%3D+', !2
         14        CONCAT                                           ~11     ~10, '%0A'
         15        ECHO                                                     ~11
    9    16        INIT_FCALL                                               'strtotime'
         17        SEND_VAL                                                 '31.05.2013+23%3A59%3A59'
         18        DO_ICALL                                         $12     
         19        ASSIGN                                                   !3, $12
   10    20        IS_SMALLER_OR_EQUAL                                      !3, !1
         21      > JMPZ                                                     ~14, ->27
   12    22    >   CONCAT                                           ~15     !1, '+%3E%3D+'
         23        CONCAT                                           ~16     ~15, !3
         24        CONCAT                                           ~17     ~16, '+%D0%BC%D0%B5%D0%BD%D1%8F%D0%B5%D0%BC+%D0%B1%D0%B0%D0%BD%D0%BD%D0%B5%D1%80%D1%8B'
         25        ECHO                                                     ~17
         26      > JMP                                                      ->30
   14    27    >   CONCAT                                           ~18     !1, '+%3C+'
         28        CONCAT                                           ~19     ~18, !3
         29        ECHO                                                     ~19
   15    30    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
190.14 ms | 1396 KiB | 19 Q