3v4l.org

run code in 300+ PHP versions simultaneously
<?php /** * Joomla! component Joaktree * file Joaktree Controller - controller.php * * @version 1.5.0 * @author Niels van Dantzig * @package Joomla * @subpackage Joaktree * @license GNU/GPL * * Component for genealogy in Joomla! * * This component file was created using the Joomla Component Creator by Not Web Design * http://www.notwebdesign.com/joomla_component_creator/ * */ // no direct access defined('_JEXEC') or die('Restricted access'); jimport( 'joomla.application.component.controller' ); class JoaktreeController extends JControllerLegacy { function __construct() { // create an input object $input = JFactory::getApplication()->input; if($input->get('view') == '') { $input->set('view', 'default'); } parent::__construct(); } function display() { parent::display(); } } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 2, Position 2 = 4
Branch analysis from position: 2
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 4
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/p249h
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   20     0  E >   DEFINED                                          ~0      '_JEXEC'
          1      > JMPNZ_EX                                         ~0      ~0, ->4
          2    > > EXIT                                                     'Restricted+access'
          3*       BOOL                                             ~0      <true>
   22     4    >   INIT_FCALL_BY_NAME                                       'jimport'
          5        SEND_VAL_EX                                              'joomla.application.component.controller'
          6        DO_FCALL                                      0          
   24     7        DECLARE_CLASS                                            'joaktreecontroller', 'jcontrollerlegacy'
   43     8      > RETURN                                                   1

Class JoaktreeController:
Function __construct:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 13
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
filename:       /in/p249h
function name:  __construct
number of ops:  16
compiled vars:  !0 = $input
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   28     0  E >   INIT_STATIC_METHOD_CALL                                  'JFactory', 'getApplication'
          1        DO_FCALL                                      0  $1      
          2        FETCH_OBJ_R                                      ~2      $1, 'input'
          3        ASSIGN                                                   !0, ~2
   30     4        INIT_METHOD_CALL                                         !0, 'get'
          5        SEND_VAL_EX                                              'view'
          6        DO_FCALL                                      0  $4      
          7        IS_EQUAL                                                 $4, ''
          8      > JMPZ                                                     ~5, ->13
   31     9    >   INIT_METHOD_CALL                                         !0, 'set'
         10        SEND_VAL_EX                                              'view'
         11        SEND_VAL_EX                                              'default'
         12        DO_FCALL                                      0          
   34    13    >   INIT_STATIC_METHOD_CALL                                  
         14        DO_FCALL                                      0          
   36    15      > RETURN                                                   null

End of function __construct

Function display:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/p249h
function name:  display
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   39     0  E >   INIT_STATIC_METHOD_CALL                                  'display'
          1        DO_FCALL                                      0          
   40     2      > RETURN                                                   null

End of function display

End of class JoaktreeController.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.44 ms | 1399 KiB | 13 Q