3v4l.org

run code in 300+ PHP versions simultaneously
<?php $today = strtotime(date("Y-m-d")); if (date('I', $today)) { echo "We're in BST!"; } else { echo "We're not in BST!"; }
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/TNmQX
function name:  (null)
number of ops:  16
compiled vars:  !0 = $today
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'strtotime'
          1        INIT_FCALL                                               'date'
          2        SEND_VAL                                                 'Y-m-d'
          3        DO_ICALL                                         $1      
          4        SEND_VAR                                                 $1
          5        DO_ICALL                                         $2      
          6        ASSIGN                                                   !0, $2
    4     7        INIT_FCALL                                               'date'
          8        SEND_VAL                                                 'I'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                         $4      
         11      > JMPZ                                                     $4, ->14
    5    12    >   ECHO                                                     'We%27re+in+BST%21'
         13      > JMP                                                      ->15
    7    14    >   ECHO                                                     'We%27re+not+in+BST%21'
    8    15    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.79 ms | 1394 KiB | 17 Q