3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo strtotime('+48 hours', null); echo " "; echo strtotime('+48 hours', 0); echo " "; echo strtotime('+48 hours', strtotime('2015-05-06 11:41:30')); echo " "; if (strtotime('2015-05-06 12:50:30') < strtotime('+48 hours', strtotime('2015-05-06 11:41:30'))) { echo 'test'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 33, Position 2 = 34
Branch analysis from position: 33
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 34
filename:       /in/rldJV
function name:  (null)
number of ops:  35
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'strtotime'
          1        SEND_VAL                                                 '%2B48+hours'
          2        SEND_VAL                                                 null
          3        DO_ICALL                                         $0      
          4        ECHO                                                     $0
    4     5        ECHO                                                     '%0A'
    6     6        INIT_FCALL                                               'strtotime'
          7        SEND_VAL                                                 '%2B48+hours'
          8        SEND_VAL                                                 0
          9        DO_ICALL                                         $1      
         10        ECHO                                                     $1
    7    11        ECHO                                                     '%0A'
    9    12        INIT_FCALL                                               'strtotime'
         13        SEND_VAL                                                 '%2B48+hours'
         14        INIT_FCALL                                               'strtotime'
         15        SEND_VAL                                                 '2015-05-06+11%3A41%3A30'
         16        DO_ICALL                                         $2      
         17        SEND_VAR                                                 $2
         18        DO_ICALL                                         $3      
         19        ECHO                                                     $3
   10    20        ECHO                                                     '%0A'
   12    21        INIT_FCALL                                               'strtotime'
         22        SEND_VAL                                                 '2015-05-06+12%3A50%3A30'
         23        DO_ICALL                                         $4      
         24        INIT_FCALL                                               'strtotime'
         25        SEND_VAL                                                 '%2B48+hours'
         26        INIT_FCALL                                               'strtotime'
         27        SEND_VAL                                                 '2015-05-06+11%3A41%3A30'
         28        DO_ICALL                                         $5      
         29        SEND_VAR                                                 $5
         30        DO_ICALL                                         $6      
         31        IS_SMALLER                                               $4, $6
         32      > JMPZ                                                     ~7, ->34
   13    33    >   ECHO                                                     'test'
   14    34    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
180.79 ms | 1396 KiB | 15 Q