3v4l.org

run code in 300+ PHP versions simultaneously
<?php $output = new JoomlaGCLoader2('front', 'chronoforms6', 'chronoforms', $chronoforms6_setup); $doc = JFactory::getDocument(); $app = JFactory::getApplication(); $activeMenu = $app->getMenu()->getActive(); $menu = $activeMenu->id; if ($activeMenu->params->get('menu-meta_description')) { $doc->setDescription($activeMenu->params->get('menu-meta_description')); } if ($activeMenu->params->get('menu-meta_keywords')){ $doc->setMetadata('keywords', $activeMenu->params->get('menu-meta_keywords')); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 25, Position 2 = 32
Branch analysis from position: 25
2 jumps found. (Code = 43) Position 1 = 37, Position 2 = 45
Branch analysis from position: 37
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 45
Branch analysis from position: 32
filename:       /in/oAr8n
function name:  (null)
number of ops:  46
compiled vars:  !0 = $output, !1 = $chronoforms6_setup, !2 = $doc, !3 = $app, !4 = $activeMenu, !5 = $menu
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $6      'JoomlaGCLoader2'
          1        SEND_VAL_EX                                              'front'
          2        SEND_VAL_EX                                              'chronoforms6'
          3        SEND_VAL_EX                                              'chronoforms'
          4        SEND_VAR_EX                                              !1
          5        DO_FCALL                                      0          
          6        ASSIGN                                                   !0, $6
    4     7        INIT_STATIC_METHOD_CALL                                  'JFactory', 'getDocument'
          8        DO_FCALL                                      0  $9      
          9        ASSIGN                                                   !2, $9
    5    10        INIT_STATIC_METHOD_CALL                                  'JFactory', 'getApplication'
         11        DO_FCALL                                      0  $11     
         12        ASSIGN                                                   !3, $11
    6    13        INIT_METHOD_CALL                                         !3, 'getMenu'
         14        DO_FCALL                                      0  $13     
         15        INIT_METHOD_CALL                                         $13, 'getActive'
         16        DO_FCALL                                      0  $14     
         17        ASSIGN                                                   !4, $14
    7    18        FETCH_OBJ_R                                      ~16     !4, 'id'
         19        ASSIGN                                                   !5, ~16
    8    20        FETCH_OBJ_R                                      ~18     !4, 'params'
         21        INIT_METHOD_CALL                                         ~18, 'get'
         22        SEND_VAL_EX                                              'menu-meta_description'
         23        DO_FCALL                                      0  $19     
         24      > JMPZ                                                     $19, ->32
    9    25    >   INIT_METHOD_CALL                                         !2, 'setDescription'
         26        FETCH_OBJ_R                                      ~20     !4, 'params'
         27        INIT_METHOD_CALL                                         ~20, 'get'
         28        SEND_VAL_EX                                              'menu-meta_description'
         29        DO_FCALL                                      0  $21     
         30        SEND_VAR_NO_REF_EX                                       $21
         31        DO_FCALL                                      0          
   11    32    >   FETCH_OBJ_R                                      ~23     !4, 'params'
         33        INIT_METHOD_CALL                                         ~23, 'get'
         34        SEND_VAL_EX                                              'menu-meta_keywords'
         35        DO_FCALL                                      0  $24     
         36      > JMPZ                                                     $24, ->45
   12    37    >   INIT_METHOD_CALL                                         !2, 'setMetadata'
         38        SEND_VAL_EX                                              'keywords'
         39        FETCH_OBJ_R                                      ~25     !4, 'params'
         40        INIT_METHOD_CALL                                         ~25, 'get'
         41        SEND_VAL_EX                                              'menu-meta_keywords'
         42        DO_FCALL                                      0  $26     
         43        SEND_VAR_NO_REF_EX                                       $26
         44        DO_FCALL                                      0          
   13    45    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
179.1 ms | 1399 KiB | 13 Q