3v4l.org

run code in 300+ PHP versions simultaneously
<?php date_default_timezone_set('Europe/Moscow'); $date_format = "d.m.Y HH:mm:ss"; $dat = strtotime('now'); $che = strtotime('31.05.2013 11:05:20'); 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 = 14, Position 2 = 19
Branch analysis from position: 14
1 jumps found. (Code = 42) Position 1 = 22
Branch analysis from position: 22
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6ZgPO
function name:  (null)
number of ops:  23
compiled vars:  !0 = $date_format, !1 = $dat, !2 = $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+HH%3Amm%3Ass'
    4     4        INIT_FCALL                                               'strtotime'
          5        SEND_VAL                                                 'now'
          6        DO_ICALL                                         $5      
          7        ASSIGN                                                   !1, $5
    5     8        INIT_FCALL                                               'strtotime'
          9        SEND_VAL                                                 '31.05.2013+11%3A05%3A20'
         10        DO_ICALL                                         $7      
         11        ASSIGN                                                   !2, $7
    6    12        IS_SMALLER_OR_EQUAL                                      !2, !1
         13      > JMPZ                                                     ~9, ->19
    8    14    >   CONCAT                                           ~10     !1, '+%3E%3D+'
         15        CONCAT                                           ~11     ~10, !2
         16        CONCAT                                           ~12     ~11, '+%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'
         17        ECHO                                                     ~12
         18      > JMP                                                      ->22
   10    19    >   CONCAT                                           ~13     !1, '+%3C+'
         20        CONCAT                                           ~14     ~13, !2
         21        ECHO                                                     ~14
   11    22    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.49 ms | 1395 KiB | 17 Q