3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = new DateTime(strtotime("now"), 'Russia/Moscow'); echo('date = '.$date."\n"); $date_format = "d.m.Y"; //$dat = $dat->format($date_format); $dat = strtotime('now'); $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/vsUoN
function name:  (null)
number of ops:  31
compiled vars:  !0 = $date, !1 = $date_format, !2 = $dat, !3 = $che
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $4      'DateTime'
          1        INIT_FCALL                                               'strtotime'
          2        SEND_VAL                                                 'now'
          3        DO_ICALL                                         $5      
          4        SEND_VAR_NO_REF_EX                                       $5
          5        SEND_VAL_EX                                              'Russia%2FMoscow'
          6        DO_FCALL                                      0          
          7        ASSIGN                                                   !0, $4
    3     8        CONCAT                                           ~8      'date+%3D+', !0
          9        CONCAT                                           ~9      ~8, '%0A'
         10        ECHO                                                     ~9
    4    11        ASSIGN                                                   !1, 'd.m.Y'
    7    12        INIT_FCALL                                               'strtotime'
         13        SEND_VAL                                                 'now'
         14        DO_ICALL                                         $11     
         15        ASSIGN                                                   !2, $11
    8    16        INIT_FCALL                                               'strtotime'
         17        SEND_VAL                                                 '31.05.2013+23%3A59%3A59'
         18        DO_ICALL                                         $13     
         19        ASSIGN                                                   !3, $13
    9    20        IS_SMALLER_OR_EQUAL                                      !3, !2
         21      > JMPZ                                                     ~15, ->27
   11    22    >   CONCAT                                           ~16     !2, '+%3E%3D+'
         23        CONCAT                                           ~17     ~16, !3
         24        CONCAT                                           ~18     ~17, '+%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                                                     ~18
         26      > JMP                                                      ->30
   13    27    >   CONCAT                                           ~19     !2, '+%3C+'
         28        CONCAT                                           ~20     ~19, !3
         29        ECHO                                                     ~20
   14    30    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.5 ms | 1401 KiB | 15 Q