3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (!emptyempty($_SERVER['HTTPS'])) { echo 'https is enabled'; } else { echo 'http is enabled'; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 10
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/frBKL
function name:  (null)
number of ops:  12
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL_BY_NAME                                       'emptyempty'
          1        CHECK_FUNC_ARG                                           
          2        FETCH_FUNC_ARG               global              $0      '_SERVER'
          3        FETCH_DIM_FUNC_ARG                               $1      $0, 'HTTPS'
          4        SEND_FUNC_ARG                                            $1
          5        DO_FCALL                                      0  $2      
          6        BOOL_NOT                                         ~3      $2
          7      > JMPZ                                                     ~3, ->10
    4     8    >   ECHO                                                     'https+is+enabled'
          9      > JMP                                                      ->11
    8    10    >   ECHO                                                     'http+is+enabled'
   10    11    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.69 ms | 1384 KiB | 13 Q