3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = date('d/m/Y', strtotime("+1 day", strtotime(date('d/m/Y', strtotime('01-02-2017'))))); $b = date('d/m/Y', strtotime("+1 day", strtotime(date('d/m/Y', strtotime('02-02-2017'))))); var_dump($a,$b); if($a < $b){ echo "maior"; }else{ echo "else"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 44, Position 2 = 46
Branch analysis from position: 44
1 jumps found. (Code = 42) Position 1 = 47
Branch analysis from position: 47
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 46
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jvDAv
function name:  (null)
number of ops:  48
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'd%2Fm%2FY'
          2        INIT_FCALL                                               'strtotime'
          3        SEND_VAL                                                 '%2B1+day'
          4        INIT_FCALL                                               'strtotime'
          5        INIT_FCALL                                               'date'
          6        SEND_VAL                                                 'd%2Fm%2FY'
          7        INIT_FCALL                                               'strtotime'
          8        SEND_VAL                                                 '01-02-2017'
          9        DO_ICALL                                         $2      
         10        SEND_VAR                                                 $2
         11        DO_ICALL                                         $3      
         12        SEND_VAR                                                 $3
         13        DO_ICALL                                         $4      
         14        SEND_VAR                                                 $4
         15        DO_ICALL                                         $5      
         16        SEND_VAR                                                 $5
         17        DO_ICALL                                         $6      
         18        ASSIGN                                                   !0, $6
    4    19        INIT_FCALL                                               'date'
         20        SEND_VAL                                                 'd%2Fm%2FY'
         21        INIT_FCALL                                               'strtotime'
         22        SEND_VAL                                                 '%2B1+day'
         23        INIT_FCALL                                               'strtotime'
         24        INIT_FCALL                                               'date'
         25        SEND_VAL                                                 'd%2Fm%2FY'
         26        INIT_FCALL                                               'strtotime'
         27        SEND_VAL                                                 '02-02-2017'
         28        DO_ICALL                                         $8      
         29        SEND_VAR                                                 $8
         30        DO_ICALL                                         $9      
         31        SEND_VAR                                                 $9
         32        DO_ICALL                                         $10     
         33        SEND_VAR                                                 $10
         34        DO_ICALL                                         $11     
         35        SEND_VAR                                                 $11
         36        DO_ICALL                                         $12     
         37        ASSIGN                                                   !1, $12
    6    38        INIT_FCALL                                               'var_dump'
         39        SEND_VAR                                                 !0
         40        SEND_VAR                                                 !1
         41        DO_ICALL                                                 
    8    42        IS_SMALLER                                               !0, !1
         43      > JMPZ                                                     ~15, ->46
    9    44    >   ECHO                                                     'maior'
         45      > JMP                                                      ->47
   11    46    >   ECHO                                                     'else'
   12    47    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
182.7 ms | 1392 KiB | 19 Q