3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = "2013-07-13"; $time = "05:30:00"; $timestamp = strtotime($date.$time); //1373673600 if($date > time() + 86400) { echo 'yes'; } else { echo 'no'; //outputs no }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 14
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mJuPS
function name:  (null)
number of ops:  16
compiled vars:  !0 = $date, !1 = $time, !2 = $timestamp
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '2013-07-13'
    3     1        ASSIGN                                                   !1, '05%3A30%3A00'
    5     2        INIT_FCALL                                               'strtotime'
          3        CONCAT                                           ~5      !0, !1
          4        SEND_VAL                                                 ~5
          5        DO_ICALL                                         $6      
          6        ASSIGN                                                   !2, $6
    7     7        INIT_FCALL                                               'time'
          8        DO_ICALL                                         $8      
          9        ADD                                              ~9      $8, 86400
         10        IS_SMALLER                                               ~9, !0
         11      > JMPZ                                                     ~10, ->14
    8    12    >   ECHO                                                     'yes'
         13      > JMP                                                      ->15
   10    14    >   ECHO                                                     'no'
   11    15    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
136.58 ms | 1394 KiB | 17 Q