3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = time(); $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 = 14, Position 2 = 16
Branch analysis from position: 14
1 jumps found. (Code = 42) Position 1 = 17
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UtOe5
function name:  (null)
number of ops:  18
compiled vars:  !0 = $date, !1 = $time, !2 = $timestamp
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'time'
          1        DO_ICALL                                         $3      
          2        ASSIGN                                                   !0, $3
    3     3        ASSIGN                                                   !1, '05%3A30%3A00'
    5     4        INIT_FCALL                                               'strtotime'
          5        CONCAT                                           ~6      !0, !1
          6        SEND_VAL                                                 ~6
          7        DO_ICALL                                         $7      
          8        ASSIGN                                                   !2, $7
    7     9        INIT_FCALL                                               'time'
         10        DO_ICALL                                         $9      
         11        ADD                                              ~10     $9, 86400
         12        IS_SMALLER                                               ~10, !0
         13      > JMPZ                                                     ~11, ->16
    8    14    >   ECHO                                                     'yes'
         15      > JMP                                                      ->17
   10    16    >   ECHO                                                     'no'
   11    17    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.48 ms | 1395 KiB | 17 Q