3v4l.org

run code in 300+ PHP versions simultaneously
<?php session_start(); include("inc/include.php"); if(!isset($_SESSION['sess_id'])) { header("Location: index"); exit; } $query = $config['mysql_connection']->prepare("SELECT SUM(`uSize`) FROM `uploads` WHERE `uUser` = ? AND `uRemoved` = 0"); $query->execute(array($_SESSION['sess_id'])); $used = $query->fetchColumn(); ?> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="shortcut icon" href="<?php echo $config['favicon']; ?>"> <title><?php echo $config['name']; ?></title> <!-- Bootstrap --> <link href="<?php echo $config['style'][0]; ?>" rel="stylesheet"> <link href="<?php echo $config['fa']; ?>" rel="stylesheet"> <link href="<?php echo $config['social']; ?>" rel="stylesheet"> <link href="css/quacco.css" rel="stylesheet"> <link href="http://ajax.aspnetcdn.com/ajax/jquery.dataTables/1.9.4/css/jquery.dataTables.css" rel="stylesheet"> <style> #dropbox { height: 116px; text-align: center; padding-top: 47px; font-weight: bold; letter-spacing: 1px; } .db-active { background: #dd4814; color: #ffffff; box-shadow: 0px 0px 5px 6px #cccccc; } .preview { border: 1px solid #CDCDCD; width: 450px; padding: 10px; height:auto; overflow: auto; color: #4D4D4D; float: left; box-shadow:3px 3px 3px #888888; border-radius: 2px; } .preview-image { box-shadow: 3px 3px 3px #888888; width: 70px; height: 70px; float: left; margin-right: 10px; } .file-info { height: 50px; float: left; width: auto; margin-bottom: 10px; border: 1px solid blue; } .file-info span { margin: 3px 2px; font-size: 12px; float:left; display: block; min-width: 100px; overflow: auto; border: 1px solid red; overflow: none; } .progress { margin-bottom: 3px; } </style> </head>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 11
Branch analysis from position: 7
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2BaMK
function name:  (null)
number of ops:  43
compiled vars:  !0 = $query, !1 = $config, !2 = $used
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'session_start'
          1        DO_ICALL                                                 
    3     2        INCLUDE_OR_EVAL                                          'inc%2Finclude.php', INCLUDE
    5     3        FETCH_IS                                         ~5      '_SESSION'
          4        ISSET_ISEMPTY_DIM_OBJ                         0  ~6      ~5, 'sess_id'
          5        BOOL_NOT                                         ~7      ~6
          6      > JMPZ                                                     ~7, ->11
    7     7    >   INIT_FCALL                                               'header'
          8        SEND_VAL                                                 'Location%3A+index'
          9        DO_ICALL                                                 
    8    10      > EXIT                                                     
   11    11    >   FETCH_DIM_R                                      ~9      !1, 'mysql_connection'
         12        INIT_METHOD_CALL                                         ~9, 'prepare'
         13        SEND_VAL_EX                                              'SELECT+SUM%28%60uSize%60%29+FROM+%60uploads%60+WHERE+%60uUser%60+%3D+%3F+AND+%60uRemoved%60+%3D+0'
         14        DO_FCALL                                      0  $10     
         15        ASSIGN                                                   !0, $10
   12    16        INIT_METHOD_CALL                                         !0, 'execute'
         17        FETCH_R                      global              ~12     '_SESSION'
         18        FETCH_DIM_R                                      ~13     ~12, 'sess_id'
         19        INIT_ARRAY                                       ~14     ~13
         20        SEND_VAL_EX                                              ~14
         21        DO_FCALL                                      0          
   13    22        INIT_METHOD_CALL                                         !0, 'fetchColumn'
         23        DO_FCALL                                      0  $16     
         24        ASSIGN                                                   !2, $16
   15    25        ECHO                                                     '%3C%21DOCTYPE+html%3E%0A%3Chtml%3E%0A%09%3Chead%3E%0A%09%09%3Cmeta+charset%3D%22utf-8%22%3E%0A%09%09%3Cmeta+http-equiv%3D%22X-UA-Compatible%22+content%3D%22IE%3Dedge%22%3E%0A%09%09%3Cmeta+name%3D%22viewport%22+content%3D%22width%3Ddevice-width%2C+initial-scale%3D1%22%3E%0A%09%09%3Clink+rel%3D%22shortcut+icon%22+href%3D%22'
   21    26        FETCH_DIM_R                                      ~18     !1, 'favicon'
         27        ECHO                                                     ~18
         28        ECHO                                                     '%22%3E%0A%09%0A%09%09%3Ctitle%3E'
   23    29        FETCH_DIM_R                                      ~19     !1, 'name'
         30        ECHO                                                     ~19
         31        ECHO                                                     '%3C%2Ftitle%3E%0A%0A%09%09%3C%21--+Bootstrap+--%3E%0A%09%09%3Clink+href%3D%22'
   26    32        FETCH_DIM_R                                      ~20     !1, 'style'
         33        FETCH_DIM_R                                      ~21     ~20, 0
         34        ECHO                                                     ~21
         35        ECHO                                                     '%22+rel%3D%22stylesheet%22%3E%0A%09%0A%09%09%3Clink+href%3D%22'
   28    36        FETCH_DIM_R                                      ~22     !1, 'fa'
         37        ECHO                                                     ~22
         38        ECHO                                                     '%22+rel%3D%22stylesheet%22%3E%0A%09%09%3Clink+href%3D%22'
   29    39        FETCH_DIM_R                                      ~23     !1, 'social'
         40        ECHO                                                     ~23
         41        ECHO                                                     '%22+rel%3D%22stylesheet%22%3E%0A%09%09%3Clink+href%3D%22css%2Fquacco.css%22+rel%3D%22stylesheet%22%3E%0A%09%09%3Clink+href%3D%22http%3A%2F%2Fajax.aspnetcdn.com%2Fajax%2Fjquery.dataTables%2F1.9.4%2Fcss%2Fjquery.dataTables.css%22+rel%3D%22stylesheet%22%3E%0A%09%09%3Cstyle%3E%0A%09%09%09%23dropbox+%7B%0A%09%09%09%09height%3A+116px%3B%0A%09%09%09%09text-align%3A+center%3B%0A%09%09%09%09padding-top%3A+47px%3B%0A%09%09%09%09font-weight%3A+bold%3B%0A%09%09%09%09letter-spacing%3A+1px%3B%0A%09%09%09%7D%0A%0A%09%09%09.db-active+%7B%0A%09%09%09%09background%3A+%23dd4814%3B%0A%09%09%09%09color%3A+%23ffffff%3B%0A%09%09%09%09box-shadow%3A+0px+0px+5px+6px+%23cccccc%3B%0A%09%09%09%7D%0A+++%0A%09%09%09.preview+%7B%0A%09%09%09%09border%3A+1px+solid+%23CDCDCD%3B%0A%09%09%09%09width%3A+450px%3B%0A%09%09%09%09padding%3A+10px%3B%0A%09%09%09%09height%3Aauto%3B+%0A%09%09%09%09overflow%3A+auto%3B%0A%09%09%09%09color%3A+%234D4D4D%3B%0A%09%09%09%09float%3A+left%3B%0A%09%09%09%09box-shadow%3A3px+3px+3px+%23888888%3B%0A%09%09%09%09border-radius%3A+2px%3B%0A%09%09%09%7D%0A+++%0A%09%09%09.preview-image+%7B%0A%09%09%09%09box-shadow%3A+3px+3px+3px+%23888888%3B%0A%09%09%09%09width%3A+70px%3B%0A%09%09%09%09height%3A+70px%3B%0A%09%09%09%09float%3A+left%3B%0A%09%09%09%09margin-right%3A+10px%3B%0A%09%09%09%7D%0A+++%0A%09%09%09.file-info+%7B%0A%09%09%09%09height%3A+50px%3B%0A%09%09%09%09float%3A+left%3B%0A%09%09%09%09width%3A+auto%3B%0A%09%09%09%09margin-bottom%3A+10px%3B%0A%09%09%09%09border%3A+1px+solid+blue%3B%0A%09%09%09%7D%0A+++%0A%09%09%09.file-info+span+%7B%0A%09%09%09%09margin%3A+3px+2px%3B%0A%09%09%09%09font-size%3A+12px%3B%0A%09%09%09%09float%3Aleft%3B%0A%09%09%09%09display%3A+block%3B%0A%09%09%09%09min-width%3A+100px%3B%0A%09%09%09%09overflow%3A+auto%3B%0A%09%09%09%09border%3A+1px+solid+red%3B%0A%09%09%09%09overflow%3A+none%3B%0A%09%09%09%7D%0A%09%09%09%0A%09%09%09.progress+%7B%0A%09%09%09%09margin-bottom%3A+3px%3B%0A%09%09%09%7D%0A%09%09%3C%2Fstyle%3E%0A%09%3C%2Fhead%3E'
   90    42      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.15 ms | 1400 KiB | 17 Q