3v4l.org

run code in 300+ PHP versions simultaneously
<?php ob_start( ); session_start( ); define( "SEVENPANEL", 1, true ); include( "config/config.inc.php" ); include( "LIBRARY/dbo.lib.php" ); $sevendbo = new SevenDBO( $db['db_name'], $db['db_user'], $db['db_pass'] ); $sevendbo->doquery('SELECT site_path,lang FROM _WEBSETTINGS'); $pathr = $sevendbo->result('site_path'); $path = 'http://'.$_SERVER['HTTP_HOST'].'/'.$pathr. TEMPLATE . TEMPLATE_DIR; $base_url = 'http://'.$_SERVER['HTTP_HOST'].'/'.$pathr; $launguage = $sevendbo->result('lang'); include( "inc_sql/base_url.php" ); include( "inc_sql/lang.php" ); include( "LIBRARY/cache.lib.php" ); include( "inc_sql/cache.php" ); define( "cache_mode", $cache_mode ); define( "cache_time", $cache_time ); include( "LIBRARY/template.lib.php" ); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/CrlOA
function name:  (null)
number of ops:  64
compiled vars:  !0 = $sevendbo, !1 = $db, !2 = $pathr, !3 = $path, !4 = $base_url, !5 = $launguage, !6 = $cache_mode, !7 = $cache_time
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'ob_start'
          1        DO_ICALL                                                 
    4     2        INIT_FCALL                                               'session_start'
          3        DO_ICALL                                                 
    5     4        INIT_FCALL                                               'define'
          5        SEND_VAL                                                 'SEVENPANEL'
          6        SEND_VAL                                                 1
          7        SEND_VAL                                                 <true>
          8        DO_ICALL                                                 
    6     9        INCLUDE_OR_EVAL                                          'config%2Fconfig.inc.php', INCLUDE
    7    10        INCLUDE_OR_EVAL                                          'LIBRARY%2Fdbo.lib.php', INCLUDE
    8    11        NEW                                              $13     'SevenDBO'
         12        CHECK_FUNC_ARG                                           
         13        FETCH_DIM_FUNC_ARG                               $14     !1, 'db_name'
         14        SEND_FUNC_ARG                                            $14
         15        CHECK_FUNC_ARG                                           
         16        FETCH_DIM_FUNC_ARG                               $15     !1, 'db_user'
         17        SEND_FUNC_ARG                                            $15
         18        CHECK_FUNC_ARG                                           
         19        FETCH_DIM_FUNC_ARG                               $16     !1, 'db_pass'
         20        SEND_FUNC_ARG                                            $16
         21        DO_FCALL                                      0          
         22        ASSIGN                                                   !0, $13
    9    23        INIT_METHOD_CALL                                         !0, 'doquery'
         24        SEND_VAL_EX                                              'SELECT+site_path%2Clang+FROM+_WEBSETTINGS'
         25        DO_FCALL                                      0          
   10    26        INIT_METHOD_CALL                                         !0, 'result'
         27        SEND_VAL_EX                                              'site_path'
         28        DO_FCALL                                      0  $20     
         29        ASSIGN                                                   !2, $20
   11    30        FETCH_R                      global              ~22     '_SERVER'
         31        FETCH_DIM_R                                      ~23     ~22, 'HTTP_HOST'
         32        CONCAT                                           ~24     'http%3A%2F%2F', ~23
         33        CONCAT                                           ~25     ~24, '%2F'
         34        CONCAT                                           ~26     ~25, !2
         35        FETCH_CONSTANT                                   ~27     'TEMPLATE'
         36        CONCAT                                           ~28     ~26, ~27
         37        FETCH_CONSTANT                                   ~29     'TEMPLATE_DIR'
         38        CONCAT                                           ~30     ~28, ~29
         39        ASSIGN                                                   !3, ~30
   12    40        FETCH_R                      global              ~32     '_SERVER'
         41        FETCH_DIM_R                                      ~33     ~32, 'HTTP_HOST'
         42        CONCAT                                           ~34     'http%3A%2F%2F', ~33
         43        CONCAT                                           ~35     ~34, '%2F'
         44        CONCAT                                           ~36     ~35, !2
         45        ASSIGN                                                   !4, ~36
   13    46        INIT_METHOD_CALL                                         !0, 'result'
         47        SEND_VAL_EX                                              'lang'
         48        DO_FCALL                                      0  $38     
         49        ASSIGN                                                   !5, $38
   16    50        INCLUDE_OR_EVAL                                          'inc_sql%2Fbase_url.php', INCLUDE
   17    51        INCLUDE_OR_EVAL                                          'inc_sql%2Flang.php', INCLUDE
   18    52        INCLUDE_OR_EVAL                                          'LIBRARY%2Fcache.lib.php', INCLUDE
   19    53        INCLUDE_OR_EVAL                                          'inc_sql%2Fcache.php', INCLUDE
   20    54        INIT_FCALL                                               'define'
         55        SEND_VAL                                                 'cache_mode'
         56        SEND_VAR                                                 !6
         57        DO_ICALL                                                 
   21    58        INIT_FCALL                                               'define'
         59        SEND_VAL                                                 'cache_time'
         60        SEND_VAR                                                 !7
         61        DO_ICALL                                                 
   22    62        INCLUDE_OR_EVAL                                          'LIBRARY%2Ftemplate.lib.php', INCLUDE
   23    63      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.97 ms | 1400 KiB | 19 Q