3v4l.org

run code in 300+ PHP versions simultaneously
<?php $curtime = '0010'; var_dump($curtime); $trading_hour['AT_open'] = '1715'; $trading_hour['AT_close'] = '2500'; var_dump('2500' - '2400'); if ($curtime <= '0100' || ($curtime >= '0830' && $curtime <= '2359')) { if ($curtime >= $trading_hour['AT_open'] && $curtime <= $trading_hour['AT_close']) { echo 'AT'; } else { echo 'N'; } } else { echo 'stop'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 13, Position 2 = 18
Branch analysis from position: 13
2 jumps found. (Code = 46) Position 1 = 15, Position 2 = 17
Branch analysis from position: 15
2 jumps found. (Code = 43) Position 1 = 19, Position 2 = 30
Branch analysis from position: 19
2 jumps found. (Code = 46) Position 1 = 22, Position 2 = 25
Branch analysis from position: 22
2 jumps found. (Code = 43) Position 1 = 26, Position 2 = 28
Branch analysis from position: 26
1 jumps found. (Code = 42) Position 1 = 29
Branch analysis from position: 29
1 jumps found. (Code = 42) Position 1 = 31
Branch analysis from position: 31
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 28
1 jumps found. (Code = 42) Position 1 = 31
Branch analysis from position: 31
Branch analysis from position: 25
Branch analysis from position: 30
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
Branch analysis from position: 18
filename:       /in/fuGs0
function name:  (null)
number of ops:  32
compiled vars:  !0 = $curtime, !1 = $trading_hour
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '0010'
    4     1        INIT_FCALL                                               'var_dump'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                                 
    6     4        ASSIGN_DIM                                               !1, 'AT_open'
          5        OP_DATA                                                  '1715'
    7     6        ASSIGN_DIM                                               !1, 'AT_close'
          7        OP_DATA                                                  '2500'
    9     8        INIT_FCALL                                               'var_dump'
          9        SEND_VAL                                                 100
         10        DO_ICALL                                                 
   11    11        IS_SMALLER_OR_EQUAL                              ~7      !0, '0100'
         12      > JMPNZ_EX                                         ~7      ~7, ->18
         13    >   IS_SMALLER_OR_EQUAL                              ~8      '0830', !0
         14      > JMPZ_EX                                          ~8      ~8, ->17
         15    >   IS_SMALLER_OR_EQUAL                              ~9      !0, '2359'
         16        BOOL                                             ~8      ~9
         17    >   BOOL                                             ~7      ~8
         18    > > JMPZ                                                     ~7, ->30
   13    19    >   FETCH_DIM_R                                      ~10     !1, 'AT_open'
         20        IS_SMALLER_OR_EQUAL                              ~11     ~10, !0
         21      > JMPZ_EX                                          ~11     ~11, ->25
         22    >   FETCH_DIM_R                                      ~12     !1, 'AT_close'
         23        IS_SMALLER_OR_EQUAL                              ~13     !0, ~12
         24        BOOL                                             ~11     ~13
         25    > > JMPZ                                                     ~11, ->28
   15    26    >   ECHO                                                     'AT'
         27      > JMP                                                      ->29
   19    28    >   ECHO                                                     'N'
         29    > > JMP                                                      ->31
   24    30    >   ECHO                                                     'stop'
   25    31    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.54 ms | 1396 KiB | 15 Q