3v4l.org

run code in 300+ PHP versions simultaneously
<?php //$dat = new DateTime(); $date_format = "d.m.Y"; //$dat = $dat->format($date_format); $dat = date($date_format, strtotime('now')); $che = date($date_format, strtotime('31.05.2013')); 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 = 22, Position 2 = 26
Branch analysis from position: 22
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/lAvu9
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
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'd.m.Y'
    6     1        INIT_FCALL                                               'date'
          2        SEND_VAR                                                 !0
          3        INIT_FCALL                                               'strtotime'
          4        SEND_VAL                                                 'now'
          5        DO_ICALL                                         $4      
          6        SEND_VAR                                                 $4
          7        DO_ICALL                                         $5      
          8        ASSIGN                                                   !1, $5
    7     9        INIT_FCALL                                               'date'
         10        SEND_VAR                                                 !0
         11        INIT_FCALL                                               'strtotime'
         12        SEND_VAL                                                 '31.05.2013'
         13        DO_ICALL                                         $7      
         14        SEND_VAR                                                 $7
         15        DO_ICALL                                         $8      
         16        ASSIGN                                                   !2, $8
    8    17        CONCAT                                           ~10     !1, '%3Cbr%3E'
         18        ECHO                                                     ~10
    9    19        ECHO                                                     !2
   10    20        IS_SMALLER_OR_EQUAL                                      !2, !1
         21      > JMPZ                                                     ~11, ->26
   12    22    >   CONCAT                                           ~12     !1, '+%3E%3D+'
         23        CONCAT                                           ~13     ~12, !2
         24        ECHO                                                     ~13
         25      > JMP                                                      ->29
   14    26    >   CONCAT                                           ~14     !1, '+%3C+'
         27        CONCAT                                           ~15     ~14, !2
         28        ECHO                                                     ~15
   15    29    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.17 ms | 1396 KiB | 17 Q