3v4l.org

run code in 300+ PHP versions simultaneously
<?php /* # -- BEGIN LICENSE BLOCK ---------------------------------- # # This file is part of MAGIX CMS. # MAGIX CMS, The content management system optimized for users # Copyright (C) 2008 - 2013 magix-cms.com <support@magix-cms.com> # # OFFICIAL TEAM : # # * Gerits Aurelien (Author - Developer) <aurelien@magix-cms.com> <contact@aurelien-gerits.be> # # Redistributions of files must retain the above copyright notice. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # # -- END LICENSE BLOCK ----------------------------------- # DISCLAIMER # Do not edit or add to this file if you wish to upgrade MAGIX CMS to newer # versions in the future. If you wish to customize MAGIX CMS for your # needs please refer to http://www.magix-cms.com for more information. */ /** * MAGIX CMS * @category backend * @package load class and config files * @copyright MAGIX CMS Copyright (c) 2010 - 2012 Gerits Aurelien, * http://www.magix-cms.com, http://www.magix-cjquery.com * @license Dual licensed under the MIT or GPL Version 3 licenses. * @version 1.0 * @author Gérits Aurélien <aurelien@magix-cms.com> * @name mcbackend * */ /** * Charge toutes les Classes de l'application */ final class backendConfig{ public static function backendLoaderFiles($files,array $arraydir){ $libraryArraydir = $arraydir; return str_replace($libraryArraydir, array('') , $files); } } $magixglobal = backendConfig::backendLoaderFiles(dirname(realpath( __FILE__ )).'app/magixglobal/autoload.php',array('lib')); $mcbackend = backendConfig::backendLoaderFiles(dirname(realpath( __FILE__ )).'app/backend/autoload.php',array('lib')); if (!file_exists($magixglobal) || !file_exists($mcbackend)) { throw new Exception("Autoload is not found Contact Webmestre: support@magix-cms.com"); exit; }else{ require($magixglobal); require($mcbackend); } $loaderFilename = dirname(realpath( __FILE__ )).'/loaderIniclass.php'; if (!file_exists($loaderFilename)) { print "<p>Loader is not found<br />Contact Support Magix CMS: support@magix-cms.com</p>"; exit; }else{ require $loaderFilename; } $dbconfig = backendConfig::backendLoaderFiles(dirname(realpath( __FILE__ )).'app/config/config.php',array('lib')); if (!file_exists($dbconfig)) { print '<p>La base de donnée n\'existe pas, veuillez suivre la procédure pour faire l\'<a href="/install/">installation</a> de Magix CMS</p>'; exit; } magixglobal_Autoloader::register(); backend_Autoloader::register(); ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 29, Position 2 = 34
Branch analysis from position: 29
2 jumps found. (Code = 43) Position 1 = 35, Position 2 = 41
Branch analysis from position: 35
1 jumps found. (Code = 108) Position 1 = -2
Branch analysis from position: 41
2 jumps found. (Code = 43) Position 1 = 56, Position 2 = 59
Branch analysis from position: 56
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 59
2 jumps found. (Code = 43) Position 1 = 77, Position 2 = 79
Branch analysis from position: 77
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 79
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 34
filename:       /in/c9VJp
function name:  (null)
number of ops:  84
compiled vars:  !0 = $magixglobal, !1 = $mcbackend, !2 = $loaderFilename, !3 = $dbconfig
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   57     0  E >   INIT_STATIC_METHOD_CALL                                  'backendConfig', 'backendLoaderFiles'
          1        INIT_FCALL                                               'dirname'
          2        INIT_FCALL                                               'realpath'
          3        SEND_VAL                                                 '%2Fin%2Fc9VJp'
          4        DO_ICALL                                         $4      
          5        SEND_VAR                                                 $4
          6        DO_ICALL                                         $5      
          7        CONCAT                                           ~6      $5, 'app%2Fmagixglobal%2Fautoload.php'
          8        SEND_VAL                                                 ~6
          9        SEND_VAL                                                 <array>
         10        DO_FCALL                                      0  $7      
         11        ASSIGN                                                   !0, $7
   58    12        INIT_STATIC_METHOD_CALL                                  'backendConfig', 'backendLoaderFiles'
         13        INIT_FCALL                                               'dirname'
         14        INIT_FCALL                                               'realpath'
         15        SEND_VAL                                                 '%2Fin%2Fc9VJp'
         16        DO_ICALL                                         $9      
         17        SEND_VAR                                                 $9
         18        DO_ICALL                                         $10     
         19        CONCAT                                           ~11     $10, 'app%2Fbackend%2Fautoload.php'
         20        SEND_VAL                                                 ~11
         21        SEND_VAL                                                 <array>
         22        DO_FCALL                                      0  $12     
         23        ASSIGN                                                   !1, $12
   59    24        INIT_FCALL                                               'file_exists'
         25        SEND_VAR                                                 !0
         26        DO_ICALL                                         $14     
         27        BOOL_NOT                                         ~15     $14
         28      > JMPNZ_EX                                         ~15     ~15, ->34
         29    >   INIT_FCALL                                               'file_exists'
         30        SEND_VAR                                                 !1
         31        DO_ICALL                                         $16     
         32        BOOL_NOT                                         ~17     $16
         33        BOOL                                             ~15     ~17
         34    > > JMPZ                                                     ~15, ->41
   60    35    >   NEW                                              $18     'Exception'
         36        SEND_VAL_EX                                              'Autoload+is+not+found+Contact+Webmestre%3A+support%40magix-cms.com'
         37        DO_FCALL                                      0          
         38      > THROW                                         0          $18
   61    39*       EXIT                                                     
         40*       JMP                                                      ->43
   63    41    >   INCLUDE_OR_EVAL                                          !0, REQUIRE
   64    42        INCLUDE_OR_EVAL                                          !1, REQUIRE
   66    43        INIT_FCALL                                               'dirname'
         44        INIT_FCALL                                               'realpath'
         45        SEND_VAL                                                 '%2Fin%2Fc9VJp'
         46        DO_ICALL                                         $22     
         47        SEND_VAR                                                 $22
         48        DO_ICALL                                         $23     
         49        CONCAT                                           ~24     $23, '%2FloaderIniclass.php'
         50        ASSIGN                                                   !2, ~24
   67    51        INIT_FCALL                                               'file_exists'
         52        SEND_VAR                                                 !2
         53        DO_ICALL                                         $26     
         54        BOOL_NOT                                         ~27     $26
         55      > JMPZ                                                     ~27, ->59
   68    56    >   ECHO                                                     '%3Cp%3ELoader+is+not+found%3Cbr+%2F%3EContact+Support+Magix+CMS%3A+support%40magix-cms.com%3C%2Fp%3E'
   69    57      > EXIT                                                     
         58*       JMP                                                      ->60
   71    59    >   INCLUDE_OR_EVAL                                          !2, REQUIRE
   74    60        INIT_STATIC_METHOD_CALL                                  'backendConfig', 'backendLoaderFiles'
         61        INIT_FCALL                                               'dirname'
         62        INIT_FCALL                                               'realpath'
         63        SEND_VAL                                                 '%2Fin%2Fc9VJp'
         64        DO_ICALL                                         $29     
         65        SEND_VAR                                                 $29
         66        DO_ICALL                                         $30     
         67        CONCAT                                           ~31     $30, 'app%2Fconfig%2Fconfig.php'
         68        SEND_VAL                                                 ~31
         69        SEND_VAL                                                 <array>
         70        DO_FCALL                                      0  $32     
         71        ASSIGN                                                   !3, $32
   75    72        INIT_FCALL                                               'file_exists'
         73        SEND_VAR                                                 !3
         74        DO_ICALL                                         $34     
         75        BOOL_NOT                                         ~35     $34
         76      > JMPZ                                                     ~35, ->79
   76    77    >   ECHO                                                     '%3Cp%3ELa+base+de+donn%C3%A9e+n%27existe+pas%2C+veuillez+suivre+la+proc%C3%A9dure+pour+faire+l%27%3Ca+href%3D%22%2Finstall%2F%22%3Einstallation%3C%2Fa%3E+de+Magix+CMS%3C%2Fp%3E'
   77    78      > EXIT                                                     
   79    79    >   INIT_STATIC_METHOD_CALL                                  'magixglobal_Autoloader', 'register'
         80        DO_FCALL                                      0          
   80    81        INIT_STATIC_METHOD_CALL                                  'backend_Autoloader', 'register'
         82        DO_FCALL                                      0          
   81    83      > RETURN                                                   1

Class backendConfig:
Function backendloaderfiles:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/c9VJp
function name:  backendLoaderFiles
number of ops:  10
compiled vars:  !0 = $files, !1 = $arraydir, !2 = $libraryArraydir
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   51     0  E >   RECV                                             !0      
          1        RECV                                             !1      
   52     2        ASSIGN                                                   !2, !1
   53     3        INIT_FCALL                                               'str_replace'
          4        SEND_VAR                                                 !2
          5        SEND_VAL                                                 <array>
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $4      
          8      > RETURN                                                   $4
   54     9*     > RETURN                                                   null

End of function backendloaderfiles

End of class backendConfig.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
208.62 ms | 1404 KiB | 21 Q