3v4l.org

run code in 300+ PHP versions simultaneously
<?php $now = strtotime("now"); $payment_timestamp = strtotime("now -10 minutes"); if($now - $payment_timestamp <= 600) { echo 'wakwaw'; } else { echo 'wkewkewkek'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 13
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0X8JC
function name:  (null)
number of ops:  15
compiled vars:  !0 = $now, !1 = $payment_timestamp
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'strtotime'
          1        SEND_VAL                                                 'now'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    3     4        INIT_FCALL                                               'strtotime'
          5        SEND_VAL                                                 'now+-10+minutes'
          6        DO_ICALL                                         $4      
          7        ASSIGN                                                   !1, $4
    4     8        SUB                                              ~6      !0, !1
          9        IS_SMALLER_OR_EQUAL                                      ~6, 600
         10      > JMPZ                                                     ~7, ->13
    6    11    >   ECHO                                                     'wakwaw'
         12      > JMP                                                      ->14
   10    13    >   ECHO                                                     'wkewkewkek'
   11    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
189.02 ms | 1394 KiB | 15 Q