3v4l.org

run code in 300+ PHP versions simultaneously
<?PHP session_start(); session_register("sess"); session_register("mode"); error_reporting(E_ERROR | E_PARSE); if (isset($_SESSION["sess"])) { if ($_SESSION["mode"]=="preview") $admin=false; else $admin=true; }else{ $admin=false; } if (file_exists("lang/".$lang.".php")) { include_once("lang/".$lang.".php"); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 14, Position 2 = 22
Branch analysis from position: 14
2 jumps found. (Code = 43) Position 1 = 18, Position 2 = 20
Branch analysis from position: 18
1 jumps found. (Code = 42) Position 1 = 21
Branch analysis from position: 21
1 jumps found. (Code = 42) Position 1 = 23
Branch analysis from position: 23
2 jumps found. (Code = 43) Position 1 = 29, Position 2 = 32
Branch analysis from position: 29
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 32
Branch analysis from position: 20
1 jumps found. (Code = 42) Position 1 = 23
Branch analysis from position: 23
Branch analysis from position: 22
2 jumps found. (Code = 43) Position 1 = 29, Position 2 = 32
Branch analysis from position: 29
Branch analysis from position: 32
filename:       /in/AQm9L
function name:  (null)
number of ops:  33
compiled vars:  !0 = $admin, !1 = $lang
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'session_start'
          1        DO_ICALL                                                 
    3     2        INIT_FCALL_BY_NAME                                       'session_register'
          3        SEND_VAL_EX                                              'sess'
          4        DO_FCALL                                      0          
    4     5        INIT_FCALL_BY_NAME                                       'session_register'
          6        SEND_VAL_EX                                              'mode'
          7        DO_FCALL                                      0          
    5     8        INIT_FCALL                                               'error_reporting'
          9        SEND_VAL                                                 5
         10        DO_ICALL                                                 
    6    11        FETCH_IS                                         ~6      '_SESSION'
         12        ISSET_ISEMPTY_DIM_OBJ                         0          ~6, 'sess'
         13      > JMPZ                                                     ~7, ->22
    7    14    >   FETCH_R                      global              ~8      '_SESSION'
         15        FETCH_DIM_R                                      ~9      ~8, 'mode'
         16        IS_EQUAL                                                 ~9, 'preview'
         17      > JMPZ                                                     ~10, ->20
    8    18    >   ASSIGN                                                   !0, <false>
         19      > JMP                                                      ->21
   10    20    >   ASSIGN                                                   !0, <true>
         21    > > JMP                                                      ->23
   12    22    >   ASSIGN                                                   !0, <false>
   15    23    >   INIT_FCALL                                               'file_exists'
         24        CONCAT                                           ~14     'lang%2F', !1
         25        CONCAT                                           ~15     ~14, '.php'
         26        SEND_VAL                                                 ~15
         27        DO_ICALL                                         $16     
         28      > JMPZ                                                     $16, ->32
   16    29    >   CONCAT                                           ~17     'lang%2F', !1
         30        CONCAT                                           ~18     ~17, '.php'
         31        INCLUDE_OR_EVAL                                          ~18, INCLUDE_ONCE
   17    32    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
182.42 ms | 1396 KiB | 19 Q