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'], '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/dcGY3
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'
   57     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 = 131
Branch analysis from position: 113
2 jumps found. (Code = 78) Position 1 = 114, Position 2 = 131
Branch analysis from position: 114
2 jumps found. (Code = 43) Position 1 = 116, Position 2 = 130
Branch analysis from position: 116
1 jumps found. (Code = 42) Position 1 = 113
Branch analysis from position: 113
Branch analysis from position: 130
Branch analysis from position: 131
2 jumps found. (Code = 43) Position 1 = 256, Position 2 = 264
Branch analysis from position: 256
1 jumps found. (Code = 42) Position 1 = 266
Branch analysis from position: 266
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 264
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 131
filename:       /in/dcGY3
function name:  index
number of ops:  269
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, ->131
        113    > > FE_FETCH_R                                               $65, !0, ->131
   26   114    >   FETCH_DIM_R                                      ~66     !0, 'bottom'
        115      > JMPZ                                                     ~66, ->130
   28   116    >   FETCH_DIM_R                                      ~70     !0, 'title'
        117        INIT_ARRAY                                       ~71     ~70, 'title'
   29   118        FETCH_OBJ_R                                      ~72     'url'
        119        INIT_METHOD_CALL                                         ~72, 'link'
        120        SEND_VAL_EX                                              'information%2Finformation'
        121        FETCH_DIM_R                                      ~73     !0, 'information_id'
        122        CONCAT                                           ~74     'information_id%3D', ~73
        123        SEND_VAL_EX                                              ~74
        124        DO_FCALL                                      0  $75     
        125        ADD_ARRAY_ELEMENT                                ~71     $75, 'href'
   27   126        FETCH_OBJ_W                                      $67     'data'
        127        FETCH_DIM_W                                      $68     $67, 'informations'
        128        ASSIGN_DIM                                               $68
   29   129        OP_DATA                                                  ~71
   25   130    > > JMP                                                      ->113
        131    >   FE_FREE                                                  $65
   34   132        FETCH_OBJ_R                                      ~78     'url'
        133        INIT_METHOD_CALL                                         ~78, 'link'
        134        SEND_VAL_EX                                              'information%2Fcontact'
        135        DO_FCALL                                      0  $79     
        136        FETCH_OBJ_W                                      $76     'data'
        137        ASSIGN_DIM                                               $76, 'contact'
        138        OP_DATA                                                  $79
   35   139        FETCH_OBJ_R                                      ~82     'url'
        140        INIT_METHOD_CALL                                         ~82, 'link'
        141        SEND_VAL_EX                                              'account%2Freturn%2Finsert'
        142        SEND_VAL_EX                                              ''
        143        SEND_VAL_EX                                              'SSL'
        144        DO_FCALL                                      0  $83     
        145        FETCH_OBJ_W                                      $80     'data'
        146        ASSIGN_DIM                                               $80, 'return'
        147        OP_DATA                                                  $83
   36   148        FETCH_OBJ_R                                      ~86     'url'
        149        INIT_METHOD_CALL                                         ~86, 'link'
        150        SEND_VAL_EX                                              'information%2Fsitemap'
        151        DO_FCALL                                      0  $87     
        152        FETCH_OBJ_W                                      $84     'data'
        153        ASSIGN_DIM                                               $84, 'sitemap'
        154        OP_DATA                                                  $87
   37   155        FETCH_OBJ_R                                      ~90     'url'
        156        INIT_METHOD_CALL                                         ~90, 'link'
        157        SEND_VAL_EX                                              'product%2Fmanufacturer'
        158        DO_FCALL                                      0  $91     
        159        FETCH_OBJ_W                                      $88     'data'
        160        ASSIGN_DIM                                               $88, 'manufacturer'
        161        OP_DATA                                                  $91
   38   162        FETCH_OBJ_R                                      ~94     'url'
        163        INIT_METHOD_CALL                                         ~94, 'link'
        164        SEND_VAL_EX                                              'account%2Fvoucher'
        165        SEND_VAL_EX                                              ''
        166        SEND_VAL_EX                                              'SSL'
        167        DO_FCALL                                      0  $95     
        168        FETCH_OBJ_W                                      $92     'data'
        169        ASSIGN_DIM                                               $92, 'voucher'
        170        OP_DATA                                                  $95
   39   171        FETCH_OBJ_R                                      ~98     'url'
        172        INIT_METHOD_CALL                                         ~98, 'link'
        173        SEND_VAL_EX                                              'affiliate%2Faccount'
        174        SEND_VAL_EX                                              ''
        175        SEND_VAL_EX                                              'SSL'
        176        DO_FCALL                                      0  $99     
        177        FETCH_OBJ_W                                      $96     'data'
        178        ASSIGN_DIM                                               $96, 'affiliate'
        179        OP_DATA                                                  $99
   40   180        FETCH_OBJ_R                                      ~102    'url'
        181        INIT_METHOD_CALL                                         ~102, 'link'
        182        SEND_VAL_EX                                              'product%2Fspecial'
        183        DO_FCALL                                      0  $103    
        184        FETCH_OBJ_W                                      $100    'data'
        185        ASSIGN_DIM                                               $100, 'special'
        186        OP_DATA                                                  $103
   41   187        FETCH_OBJ_R                                      ~106    'url'
        188        INIT_METHOD_CALL                                         ~106, 'link'
        189        SEND_VAL_EX                                              'account%2Faccount'
        190        SEND_VAL_EX                                              ''
        191        SEND_VAL_EX                                              'SSL'
        192        DO_FCALL                                      0  $107    
        193        FETCH_OBJ_W                                      $104    'data'
        194        ASSIGN_DIM                                               $104, 'account'
        195        OP_DATA                                                  $107
   42   196        FETCH_OBJ_R                                      ~110    'url'
        197        INIT_METHOD_CALL                                         ~110, 'link'
        198        SEND_VAL_EX                                              'account%2Forder'
        199        SEND_VAL_EX                                              ''
        200        SEND_VAL_EX                                              'SSL'
        201        DO_FCALL                                      0  $111    
        202        FETCH_OBJ_W                                      $108    'data'
        203        ASSIGN_DIM                                               $108, 'order'
        204        OP_DATA                                                  $111
   43   205        FETCH_OBJ_R                                      ~114    'url'
        206        INIT_METHOD_CALL                                         ~114, 'link'
        207        SEND_VAL_EX                                              'account%2Fwishlist'
        208        SEND_VAL_EX                                              ''
        209        SEND_VAL_EX                                              'SSL'
        210        DO_FCALL                                      0  $115    
        211        FETCH_OBJ_W                                      $112    'data'
        212        ASSIGN_DIM                                               $112, 'wishlist'
        213        OP_DATA                                                  $115
   44   214        FETCH_OBJ_R                                      ~118    'url'
        215        INIT_METHOD_CALL                                         ~118, 'link'
        216        SEND_VAL_EX                                              'account%2Fnewsletter'
        217        SEND_VAL_EX                                              ''
        218        SEND_VAL_EX                                              'SSL'
        219        DO_FCALL                                      0  $119    
        220        FETCH_OBJ_W                                      $116    'data'
        221        ASSIGN_DIM                                               $116, 'newsletter'
        222        OP_DATA                                                  $119
   46   223        INIT_FCALL                                               'sprintf'
        224        FETCH_OBJ_R                                      ~122    'language'
        225        INIT_METHOD_CALL                                         ~122, 'get'
        226        SEND_VAL_EX                                              'text_powered'
        227        DO_FCALL                                      0  $123    
        228        SEND_VAR                                                 $123
        229        FETCH_OBJ_R                                      ~124    'config'
        230        INIT_METHOD_CALL                                         ~124, 'get'
        231        SEND_VAL_EX                                              'config_name'
        232        DO_FCALL                                      0  $125    
        233        SEND_VAR                                                 $125
        234        INIT_FCALL                                               'date'
        235        SEND_VAL                                                 'Y'
        236        INIT_FCALL                                               'time'
        237        DO_ICALL                                         $126    
        238        SEND_VAR                                                 $126
        239        DO_ICALL                                         $127    
        240        SEND_VAR                                                 $127
        241        DO_ICALL                                         $128    
        242        FETCH_OBJ_W                                      $120    'data'
        243        ASSIGN_DIM                                               $120, 'powered'
        244        OP_DATA                                                  $128
   48   245        INIT_FCALL                                               'file_exists'
        246        FETCH_CONSTANT                                   ~129    'DIR_TEMPLATE'
        247        FETCH_OBJ_R                                      ~130    'config'
        248        INIT_METHOD_CALL                                         ~130, 'get'
        249        SEND_VAL_EX                                              'config_template'
        250        DO_FCALL                                      0  $131    
        251        CONCAT                                           ~132    ~129, $131
        252        CONCAT                                           ~133    ~132, '%2Ftemplate%2Fcommon%2Ffooter.tpl'
        253        SEND_VAL                                                 ~133
        254        DO_ICALL                                         $134    
        255      > JMPZ                                                     $134, ->264
   49   256    >   FETCH_OBJ_R                                      ~136    'config'
        257        INIT_METHOD_CALL                                         ~136, 'get'
        258        SEND_VAL_EX                                              'config_template'
        259        DO_FCALL                                      0  $137    
        260        CONCAT                                           ~138    $137, '%2Ftemplate%2Fcommon%2Ffooter.tpl'
        261        ASSIGN_OBJ                                               'template'
        262        OP_DATA                                                  ~138
        263      > JMP                                                      ->266
   51   264    >   ASSIGN_OBJ                                               'template'
        265        OP_DATA                                                  'default%2Ftemplate%2Fcommon%2Ffooter.tpl'
   54   266    >   INIT_METHOD_CALL                                         'render'
        267        DO_FCALL                                      0          
   55   268      > RETURN                                                   null

End of function index

End of class ControllerCommonFooter.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.41 ms | 1420 KiB | 21 Q