3v4l.org

run code in 300+ PHP versions simultaneously
<?php $timestampCurrentPouch = strtotime('9999-12-31T00:00:00'); $isCurrentPouchValid = (($timestampCurrentPouch > strtotime('-5 years')) || ($timestampCurrentPouch < strtotime('+5 years'))); VAR_DUMP($isCurrentPouchValid);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 9, Position 2 = 14
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
filename:       /in/Kim9D
function name:  (null)
number of ops:  19
compiled vars:  !0 = $timestampCurrentPouch, !1 = $isCurrentPouchValid
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'strtotime'
          1        SEND_VAL                                                 '9999-12-31T00%3A00%3A00'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    5     4        INIT_FCALL                                               'strtotime'
          5        SEND_VAL                                                 '-5+years'
          6        DO_ICALL                                         $4      
          7        IS_SMALLER                                       ~5      $4, !0
          8      > JMPNZ_EX                                         ~5      ~5, ->14
          9    >   INIT_FCALL                                               'strtotime'
         10        SEND_VAL                                                 '%2B5+years'
         11        DO_ICALL                                         $6      
         12        IS_SMALLER                                       ~7      !0, $6
         13        BOOL                                             ~5      ~7
         14    >   ASSIGN                                                   !1, ~5
    7    15        INIT_FCALL                                               'var_dump'
         16        SEND_VAR                                                 !1
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.29 ms | 1395 KiB | 17 Q