3v4l.org

run code in 300+ PHP versions simultaneously
<?php //$dat = new DateTime(); //$date_format = "d.m.Y H:i:s"; //$dat = $dat->format($date_format); $dat = date($date_format, strtotime('now')); $che = date($date_format, strtotime('31.05.2013 23:59:59')); echo $dat.'<br>'; echo $che; 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 = 25
Branch analysis from position: 21
1 jumps found. (Code = 42) Position 1 = 28
Branch analysis from position: 28
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 25
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZZcqa
function name:  (null)
number of ops:  29
compiled vars:  !0 = $dat, !1 = $date_format, !2 = $che
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAR                                                 !1
          2        INIT_FCALL                                               'strtotime'
          3        SEND_VAL                                                 'now'
          4        DO_ICALL                                         $3      
          5        SEND_VAR                                                 $3
          6        DO_ICALL                                         $4      
          7        ASSIGN                                                   !0, $4
    7     8        INIT_FCALL                                               'date'
          9        SEND_VAR                                                 !1
         10        INIT_FCALL                                               'strtotime'
         11        SEND_VAL                                                 '31.05.2013+23%3A59%3A59'
         12        DO_ICALL                                         $6      
         13        SEND_VAR                                                 $6
         14        DO_ICALL                                         $7      
         15        ASSIGN                                                   !2, $7
    8    16        CONCAT                                           ~9      !0, '%3Cbr%3E'
         17        ECHO                                                     ~9
    9    18        ECHO                                                     !2
   10    19        IS_SMALLER                                               !2, !0
         20      > JMPZ                                                     ~10, ->25
   12    21    >   CONCAT                                           ~11     !0, '+%3E+'
         22        CONCAT                                           ~12     ~11, !2
         23        ECHO                                                     ~12
         24      > JMP                                                      ->28
   14    25    >   CONCAT                                           ~13     !0, '+%3C+'
         26        CONCAT                                           ~14     ~13, !2
         27        ECHO                                                     ~14
   15    28    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.76 ms | 1395 KiB | 17 Q