3v4l.org

run code in 300+ PHP versions simultaneously
<?php class ControllerCommonFooter extends Controller { protected function index() { $this->language->load('common/footer'); $this->data['text_information'] = $this->language->get('text_information'); $this->data['text_service'] = $this->language->get('text_service'); $this->data['text_extra'] = $this->language->get('text_extra'); $this->data['text_contact'] = $this->language->get('text_contact'); $this->data['text_return'] = $this->language->get('text_return'); $this->data['text_sitemap'] = $this->language->get('text_sitemap'); $this->data['text_manufacturer'] = $this->language->get('text_manufacturer'); $this->data['text_voucher'] = $this->language->get('text_voucher'); $this->data['text_affiliate'] = $this->language->get('text_affiliate'); $this->data['text_special'] = $this->language->get('text_special'); $this->data['text_account'] = $this->language->get('text_account'); $this->data['text_order'] = $this->language->get('text_order'); $this->data['text_wishlist'] = $this->language->get('text_wishlist'); $this->data['text_newsletter'] = $this->language->get('text_newsletter'); $this->load->model('catalog/information'); $this->data['informations'] = array(); foreach ($this->model_catalog_information->getInformations() as $result) { if ($result['bottom']) { $this->data['informations'][] = array( 'title' => $result['title'], 'id' => $result['information_id'], 'href' => $this->url->link('information/information', 'information_id=' . $result['information_id']) ); } } $this->data['contact'] = $this->url->link('information/contact'); $this->data['return'] = $this->url->link('account/return/insert', '', 'SSL'); $this->data['sitemap'] = $this->url->link('information/sitemap'); $this->data['manufacturer'] = $this->url->link('product/manufacturer'); $this->data['voucher'] = $this->url->link('account/voucher', '', 'SSL'); $this->data['affiliate'] = $this->url->link('affiliate/account', '', 'SSL'); $this->data['special'] = $this->url->link('product/special'); $this->data['account'] = $this->url->link('account/account', '', 'SSL'); $this->data['order'] = $this->url->link('account/order', '', 'SSL'); $this->data['wishlist'] = $this->url->link('account/wishlist', '', 'SSL'); $this->data['newsletter'] = $this->url->link('account/newsletter', '', 'SSL'); $this->data['powered'] = sprintf($this->language->get('text_powered'), $this->config->get('config_name'), date('Y', time())); if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/common/footer.tpl')) { $this->template = $this->config->get('config_template') . '/template/common/footer.tpl'; } else { $this->template = 'default/template/common/footer.tpl'; } $this->render(); } } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/n9eRL
function name:  (null)
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   DECLARE_CLASS                                            'controllercommonfooter', 'controller'
   58     1      > RETURN                                                   1

Class ControllerCommonFooter:
Function index:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 113, Position 2 = 133
Branch analysis from position: 113
2 jumps found. (Code = 78) Position 1 = 114, Position 2 = 133
Branch analysis from position: 114
2 jumps found. (Code = 43) Position 1 = 116, Position 2 = 132
Branch analysis from position: 116
1 jumps found. (Code = 42) Position 1 = 113
Branch analysis from position: 113
Branch analysis from position: 132
Branch analysis from position: 133
2 jumps found. (Code = 43) Position 1 = 258, Position 2 = 266
Branch analysis from position: 258
1 jumps found. (Code = 42) Position 1 = 268
Branch analysis from position: 268
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 266
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 133
filename:       /in/n9eRL
function name:  index
number of ops:  271
compiled vars:  !0 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   FETCH_OBJ_R                                      ~1      'language'
          1        INIT_METHOD_CALL                                         ~1, 'load'
          2        SEND_VAL_EX                                              'common%2Ffooter'
          3        DO_FCALL                                      0          
    6     4        FETCH_OBJ_R                                      ~5      'language'
          5        INIT_METHOD_CALL                                         ~5, 'get'
          6        SEND_VAL_EX                                              'text_information'
          7        DO_FCALL                                      0  $6      
          8        FETCH_OBJ_W                                      $3      'data'
          9        ASSIGN_DIM                                               $3, 'text_information'
         10        OP_DATA                                                  $6
    7    11        FETCH_OBJ_R                                      ~9      'language'
         12        INIT_METHOD_CALL                                         ~9, 'get'
         13        SEND_VAL_EX                                              'text_service'
         14        DO_FCALL                                      0  $10     
         15        FETCH_OBJ_W                                      $7      'data'
         16        ASSIGN_DIM                                               $7, 'text_service'
         17        OP_DATA                                                  $10
    8    18        FETCH_OBJ_R                                      ~13     'language'
         19        INIT_METHOD_CALL                                         ~13, 'get'
         20        SEND_VAL_EX                                              'text_extra'
         21        DO_FCALL                                      0  $14     
         22        FETCH_OBJ_W                                      $11     'data'
         23        ASSIGN_DIM                                               $11, 'text_extra'
         24        OP_DATA                                                  $14
    9    25        FETCH_OBJ_R                                      ~17     'language'
         26        INIT_METHOD_CALL                                         ~17, 'get'
         27        SEND_VAL_EX                                              'text_contact'
         28        DO_FCALL                                      0  $18     
         29        FETCH_OBJ_W                                      $15     'data'
         30        ASSIGN_DIM                                               $15, 'text_contact'
         31        OP_DATA                                                  $18
   10    32        FETCH_OBJ_R                                      ~21     'language'
         33        INIT_METHOD_CALL                                         ~21, 'get'
         34        SEND_VAL_EX                                              'text_return'
         35        DO_FCALL                                      0  $22     
         36        FETCH_OBJ_W                                      $19     'data'
         37        ASSIGN_DIM                                               $19, 'text_return'
         38        OP_DATA                                                  $22
   11    39        FETCH_OBJ_R                                      ~25     'language'
         40        INIT_METHOD_CALL                                         ~25, 'get'
         41        SEND_VAL_EX                                              'text_sitemap'
         42        DO_FCALL                                      0  $26     
         43        FETCH_OBJ_W                                      $23     'data'
         44        ASSIGN_DIM                                               $23, 'text_sitemap'
         45        OP_DATA                                                  $26
   12    46        FETCH_OBJ_R                                      ~29     'language'
         47        INIT_METHOD_CALL                                         ~29, 'get'
         48        SEND_VAL_EX                                              'text_manufacturer'
         49        DO_FCALL                                      0  $30     
         50        FETCH_OBJ_W                                      $27     'data'
         51        ASSIGN_DIM                                               $27, 'text_manufacturer'
         52        OP_DATA                                                  $30
   13    53        FETCH_OBJ_R                                      ~33     'language'
         54        INIT_METHOD_CALL                                         ~33, 'get'
         55        SEND_VAL_EX                                              'text_voucher'
         56        DO_FCALL                                      0  $34     
         57        FETCH_OBJ_W                                      $31     'data'
         58        ASSIGN_DIM                                               $31, 'text_voucher'
         59        OP_DATA                                                  $34
   14    60        FETCH_OBJ_R                                      ~37     'language'
         61        INIT_METHOD_CALL                                         ~37, 'get'
         62        SEND_VAL_EX                                              'text_affiliate'
         63        DO_FCALL                                      0  $38     
         64        FETCH_OBJ_W                                      $35     'data'
         65        ASSIGN_DIM                                               $35, 'text_affiliate'
         66        OP_DATA                                                  $38
   15    67        FETCH_OBJ_R                                      ~41     'language'
         68        INIT_METHOD_CALL                                         ~41, 'get'
         69        SEND_VAL_EX                                              'text_special'
         70        DO_FCALL                                      0  $42     
         71        FETCH_OBJ_W                                      $39     'data'
         72        ASSIGN_DIM                                               $39, 'text_special'
         73        OP_DATA                                                  $42
   16    74        FETCH_OBJ_R                                      ~45     'language'
         75        INIT_METHOD_CALL                                         ~45, 'get'
         76        SEND_VAL_EX                                              'text_account'
         77        DO_FCALL                                      0  $46     
         78        FETCH_OBJ_W                                      $43     'data'
         79        ASSIGN_DIM                                               $43, 'text_account'
         80        OP_DATA                                                  $46
   17    81        FETCH_OBJ_R                                      ~49     'language'
         82        INIT_METHOD_CALL                                         ~49, 'get'
         83        SEND_VAL_EX                                              'text_order'
         84        DO_FCALL                                      0  $50     
         85        FETCH_OBJ_W                                      $47     'data'
         86        ASSIGN_DIM                                               $47, 'text_order'
         87        OP_DATA                                                  $50
   18    88        FETCH_OBJ_R                                      ~53     'language'
         89        INIT_METHOD_CALL                                         ~53, 'get'
         90        SEND_VAL_EX                                              'text_wishlist'
         91        DO_FCALL                                      0  $54     
         92        FETCH_OBJ_W                                      $51     'data'
         93        ASSIGN_DIM                                               $51, 'text_wishlist'
         94        OP_DATA                                                  $54
   19    95        FETCH_OBJ_R                                      ~57     'language'
         96        INIT_METHOD_CALL                                         ~57, 'get'
         97        SEND_VAL_EX                                              'text_newsletter'
         98        DO_FCALL                                      0  $58     
         99        FETCH_OBJ_W                                      $55     'data'
        100        ASSIGN_DIM                                               $55, 'text_newsletter'
        101        OP_DATA                                                  $58
   21   102        FETCH_OBJ_R                                      ~59     'load'
        103        INIT_METHOD_CALL                                         ~59, 'model'
        104        SEND_VAL_EX                                              'catalog%2Finformation'
        105        DO_FCALL                                      0          
   23   106        FETCH_OBJ_W                                      $61     'data'
        107        ASSIGN_DIM                                               $61, 'informations'
        108        OP_DATA                                                  <array>
   25   109        FETCH_OBJ_R                                      ~63     'model_catalog_information'
        110        INIT_METHOD_CALL                                         ~63, 'getInformations'
        111        DO_FCALL                                      0  $64     
        112      > FE_RESET_R                                       $65     $64, ->133
        113    > > FE_FETCH_R                                               $65, !0, ->133
   26   114    >   FETCH_DIM_R                                      ~66     !0, 'bottom'
        115      > JMPZ                                                     ~66, ->132
   28   116    >   FETCH_DIM_R                                      ~70     !0, 'title'
        117        INIT_ARRAY                                       ~71     ~70, 'title'
   29   118        FETCH_DIM_R                                      ~72     !0, 'information_id'
        119        ADD_ARRAY_ELEMENT                                ~71     ~72, 'id'
   30   120        FETCH_OBJ_R                                      ~73     'url'
        121        INIT_METHOD_CALL                                         ~73, 'link'
        122        SEND_VAL_EX                                              'information%2Finformation'
        123        FETCH_DIM_R                                      ~74     !0, 'information_id'
        124        CONCAT                                           ~75     'information_id%3D', ~74
        125        SEND_VAL_EX                                              ~75
        126        DO_FCALL                                      0  $76     
        127        ADD_ARRAY_ELEMENT                                ~71     $76, 'href'
   27   128        FETCH_OBJ_W                                      $67     'data'
        129        FETCH_DIM_W                                      $68     $67, 'informations'
        130        ASSIGN_DIM                                               $68
   30   131        OP_DATA                                                  ~71
   25   132    > > JMP                                                      ->113
        133    >   FE_FREE                                                  $65
   35   134        FETCH_OBJ_R                                      ~79     'url'
        135        INIT_METHOD_CALL                                         ~79, 'link'
        136        SEND_VAL_EX                                              'information%2Fcontact'
        137        DO_FCALL                                      0  $80     
        138        FETCH_OBJ_W                                      $77     'data'
        139        ASSIGN_DIM                                               $77, 'contact'
        140        OP_DATA                                                  $80
   36   141        FETCH_OBJ_R                                      ~83     'url'
        142        INIT_METHOD_CALL                                         ~83, 'link'
        143        SEND_VAL_EX                                              'account%2Freturn%2Finsert'
        144        SEND_VAL_EX                                              ''
        145        SEND_VAL_EX                                              'SSL'
        146        DO_FCALL                                      0  $84     
        147        FETCH_OBJ_W                                      $81     'data'
        148        ASSIGN_DIM                                               $81, 'return'
        149        OP_DATA                                                  $84
   37   150        FETCH_OBJ_R                                      ~87     'url'
        151        INIT_METHOD_CALL                                         ~87, 'link'
        152        SEND_VAL_EX                                              'information%2Fsitemap'
        153        DO_FCALL                                      0  $88     
        154        FETCH_OBJ_W                                      $85     'data'
        155        ASSIGN_DIM                                               $85, 'sitemap'
        156        OP_DATA                                                  $88
   38   157        FETCH_OBJ_R                                      ~91     'url'
        158        INIT_METHOD_CALL                                         ~91, 'link'
        159        SEND_VAL_EX                                              'product%2Fmanufacturer'
        160        DO_FCALL                                      0  $92     
        161        FETCH_OBJ_W                                      $89     'data'
        162        ASSIGN_DIM                                               $89, 'manufacturer'
        163        OP_DATA                                                  $92
   39   164        FETCH_OBJ_R                                      ~95     'url'
        165        INIT_METHOD_CALL                                         ~95, 'link'
        166        SEND_VAL_EX                                              'account%2Fvoucher'
        167        SEND_VAL_EX                                              ''
        168        SEND_VAL_EX                                              'SSL'
        169        DO_FCALL                                      0  $96     
        170        FETCH_OBJ_W                                      $93     'data'
        171        ASSIGN_DIM                                               $93, 'voucher'
        172        OP_DATA                                                  $96
   40   173        FETCH_OBJ_R                                      ~99     'url'
        174        INIT_METHOD_CALL                                         ~99, 'link'
        175        SEND_VAL_EX                                              'affiliate%2Faccount'
        176        SEND_VAL_EX                                              ''
        177        SEND_VAL_EX                                              'SSL'
        178        DO_FCALL                                      0  $100    
        179        FETCH_OBJ_W                                      $97     'data'
        180        ASSIGN_DIM                                               $97, 'affiliate'
        181        OP_DATA                                                  $100
   41   182        FETCH_OBJ_R                                      ~103    'url'
        183        INIT_METHOD_CALL                                         ~103, 'link'
        184        SEND_VAL_EX                                              'product%2Fspecial'
        185        DO_FCALL                                      0  $104    
        186        FETCH_OBJ_W                                      $101    'data'
        187        ASSIGN_DIM                                               $101, 'special'
        188        OP_DATA                                                  $104
   42   189        FETCH_OBJ_R                                      ~107    'url'
        190        INIT_METHOD_CALL                                         ~107, 'link'
        191        SEND_VAL_EX                                              'account%2Faccount'
        192        SEND_VAL_EX                                              ''
        193        SEND_VAL_EX                                              'SSL'
        194        DO_FCALL                                      0  $108    
        195        FETCH_OBJ_W                                      $105    'data'
        196        ASSIGN_DIM                                               $105, 'account'
        197        OP_DATA                                                  $108
   43   198        FETCH_OBJ_R                                      ~111    'url'
        199        INIT_METHOD_CALL                                         ~111, 'link'
        200        SEND_VAL_EX                                              'account%2Forder'
        201        SEND_VAL_EX                                              ''
        202        SEND_VAL_EX                                              'SSL'
        203        DO_FCALL                                      0  $112    
        204        FETCH_OBJ_W                                      $109    'data'
        205        ASSIGN_DIM                                               $109, 'order'
        206        OP_DATA                                                  $112
   44   207        FETCH_OBJ_R                                      ~115    'url'
        208        INIT_METHOD_CALL                                         ~115, 'link'
        209        SEND_VAL_EX                                              'account%2Fwishlist'
        210        SEND_VAL_EX                                              ''
        211        SEND_VAL_EX                                              'SSL'
        212        DO_FCALL                                      0  $116    
        213        FETCH_OBJ_W                                      $113    'data'
        214        ASSIGN_DIM                                               $113, 'wishlist'
        215        OP_DATA                                                  $116
   45   216        FETCH_OBJ_R                                      ~119    'url'
        217        INIT_METHOD_CALL                                         ~119, 'link'
        218        SEND_VAL_EX                                              'account%2Fnewsletter'
        219        SEND_VAL_EX                                              ''
        220        SEND_VAL_EX                                              'SSL'
        221        DO_FCALL                                      0  $120    
        222        FETCH_OBJ_W                                      $117    'data'
        223        ASSIGN_DIM                                               $117, 'newsletter'
        224        OP_DATA                                                  $120
   47   225        INIT_FCALL                                               'sprintf'
        226        FETCH_OBJ_R                                      ~123    'language'
        227        INIT_METHOD_CALL                                         ~123, 'get'
        228        SEND_VAL_EX                                              'text_powered'
        229        DO_FCALL                                      0  $124    
        230        SEND_VAR                                                 $124
        231        FETCH_OBJ_R                                      ~125    'config'
        232        INIT_METHOD_CALL                                         ~125, 'get'
        233        SEND_VAL_EX                                              'config_name'
        234        DO_FCALL                                      0  $126    
        235        SEND_VAR                                                 $126
        236        INIT_FCALL                                               'date'
        237        SEND_VAL                                                 'Y'
        238        INIT_FCALL                                               'time'
        239        DO_ICALL                                         $127    
        240        SEND_VAR                                                 $127
        241        DO_ICALL                                         $128    
        242        SEND_VAR                                                 $128
        243        DO_ICALL                                         $129    
        244        FETCH_OBJ_W                                      $121    'data'
        245        ASSIGN_DIM                                               $121, 'powered'
        246        OP_DATA                                                  $129
   49   247        INIT_FCALL                                               'file_exists'
        248        FETCH_CONSTANT                                   ~130    'DIR_TEMPLATE'
        249        FETCH_OBJ_R                                      ~131    'config'
        250        INIT_METHOD_CALL                                         ~131, 'get'
        251        SEND_VAL_EX                                              'config_template'
        252        DO_FCALL                                      0  $132    
        253        CONCAT                                           ~133    ~130, $132
        254        CONCAT                                           ~134    ~133, '%2Ftemplate%2Fcommon%2Ffooter.tpl'
        255        SEND_VAL                                                 ~134
        256        DO_ICALL                                         $135    
        257      > JMPZ                                                     $135, ->266
   50   258    >   FETCH_OBJ_R                                      ~137    'config'
        259        INIT_METHOD_CALL                                         ~137, 'get'
        260        SEND_VAL_EX                                              'config_template'
        261        DO_FCALL                                      0  $138    
        262        CONCAT                                           ~139    $138, '%2Ftemplate%2Fcommon%2Ffooter.tpl'
        263        ASSIGN_OBJ                                               'template'
        264        OP_DATA                                                  ~139
        265      > JMP                                                      ->268
   52   266    >   ASSIGN_OBJ                                               'template'
        267        OP_DATA                                                  'default%2Ftemplate%2Fcommon%2Ffooter.tpl'
   55   268    >   INIT_METHOD_CALL                                         'render'
        269        DO_FCALL                                      0          
   56   270      > RETURN                                                   null

End of function index

End of class ControllerCommonFooter.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.65 ms | 1424 KiB | 22 Q