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'); echo('now = '.date($date_format, $dat)."\n"); $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 = 21, Position 2 = 26
Branch analysis from position: 21
1 jumps found. (Code = 42) Position 1 = 29
Branch analysis from position: 29
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 26
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/peI4e
function name:  (null)
number of ops:  30
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                                               'date'
          9        SEND_VAR                                                 !0
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                         $7      
         12        CONCAT                                           ~8      'now+%3D+', $7
         13        CONCAT                                           ~9      ~8, '%0A'
         14        ECHO                                                     ~9
    6    15        INIT_FCALL                                               'strtotime'
         16        SEND_VAL                                                 '31.05.2013+11%3A05%3A20'
         17        DO_ICALL                                         $10     
         18        ASSIGN                                                   !2, $10
    7    19        IS_SMALLER_OR_EQUAL                                      !2, !1
         20      > JMPZ                                                     ~12, ->26
    9    21    >   CONCAT                                           ~13     !1, '+%3E%3D+'
         22        CONCAT                                           ~14     ~13, !2
         23        CONCAT                                           ~15     ~14, '+%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'
         24        ECHO                                                     ~15
         25      > JMP                                                      ->29
   11    26    >   CONCAT                                           ~16     !1, '+%3C+'
         27        CONCAT                                           ~17     ~16, !2
         28        ECHO                                                     ~17
   12    29    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.25 ms | 1396 KiB | 19 Q