3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_SESSION['MAster'] = '4632763278'; unset($_SESSION['MAster']); if($_SESSION['MAster']){ echo 'HELLO'; } if(in_array($_SESSION,'MAster')){ echo 'HELLO'; } if(isset($_SESSION['MAster'])){ echo 'HELLO 2'; } if($_SESSION['MAster']=='4632763278'){ echo 'HELLO 3'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 9
Branch analysis from position: 8
2 jumps found. (Code = 43) Position 1 = 15, Position 2 = 16
Branch analysis from position: 15
2 jumps found. (Code = 43) Position 1 = 19, Position 2 = 20
Branch analysis from position: 19
2 jumps found. (Code = 43) Position 1 = 24, Position 2 = 25
Branch analysis from position: 24
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 25
Branch analysis from position: 20
Branch analysis from position: 16
Branch analysis from position: 9
filename:       /in/uhTDQ
function name:  (null)
number of ops:  26
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   FETCH_W                      global              $0      '_SESSION'
          1        ASSIGN_DIM                                               $0, 'MAster'
          2        OP_DATA                                                  '4632763278'
    3     3        FETCH_UNSET                                      $2      '_SESSION'
          4        UNSET_DIM                                                $2, 'MAster'
    5     5        FETCH_R                      global              ~3      '_SESSION'
          6        FETCH_DIM_R                                      ~4      ~3, 'MAster'
          7      > JMPZ                                                     ~4, ->9
    6     8    >   ECHO                                                     'HELLO'
    8     9    >   INIT_FCALL                                               'in_array'
         10        FETCH_R                      global              ~5      '_SESSION'
         11        SEND_VAL                                                 ~5
         12        SEND_VAL                                                 'MAster'
         13        DO_ICALL                                         $6      
         14      > JMPZ                                                     $6, ->16
    9    15    >   ECHO                                                     'HELLO'
   11    16    >   FETCH_IS                                         ~7      '_SESSION'
         17        ISSET_ISEMPTY_DIM_OBJ                         0          ~7, 'MAster'
         18      > JMPZ                                                     ~8, ->20
   12    19    >   ECHO                                                     'HELLO+2'
   14    20    >   FETCH_R                      global              ~9      '_SESSION'
         21        FETCH_DIM_R                                      ~10     ~9, 'MAster'
         22        IS_EQUAL                                                 ~10, '4632763278'
         23      > JMPZ                                                     ~11, ->25
   15    24    >   ECHO                                                     'HELLO+3'
   16    25    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.53 ms | 1401 KiB | 15 Q