3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arTemplateFunction = function(&$AR_this) { $local = new ar_core_pinpSandbox($AR_this); ?><?php $local->load('mod_edit.php'); $local->graphicsURL = pinp_ar::_acquire('settings.graphicsURL'); $local->site = pinp_ar::_acquire('settings.site'); $local->siteURL = pinp_ar::_acquire('settings.siteURL'); $local->editURL = pinp_edit::_getEditMode() ? $local->siteURL . pinp_edit::_getEditTemplate() : $local->siteURL; $local->section = pinp_ar::_getvar('section'); ?> <!DOCTYPE html> <html lang="en"> <head> <link rel="stylesheet" href="<?php echo $local->graphicsURL; ?>layout.css" type="text/css"> <link rel="stylesheet" href="<?php echo $local->graphicsURL; ?>style.css" type="text/css"> <title><?php echo $local->this->nlsdata->name; ?></title> <script type="text/javascript" src="<?php echo $local->graphicsURL; ?>ariadne.load.js?muze+muze.event"></script> <script type="text/javascript" src="<?php echo $local->graphicsURL; ?>search.js"></script> <meta charset="UTF-8"> </head> <body class="<?php echo $local->this->type; ?>"> <div id="header"> <?php pinp_ar::_get( $local->site )->_call( 'view.title.html' ); pinp_ar::_call( 'view.searchform.html' ); echo ar('html')->_menu() ->_template('menu.item.html') ->_setAttribute('id', 'menu') ->_current( $local->section ? $local->section : $local->editURL ) ->_fill( array( $local->editURL => 'Home' ), pinp_ar::_get( $local->site ) ->_find( "object.implements='psection' and object.parent='".($local->site)."'" ) ->_order('object.priority ASC') ); ?> </div> <hr class="noscreen"> <?php };$arTemplateFunction() ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9biVs
function name:  (null)
number of ops:  5
compiled vars:  !0 = $arTemplateFunction
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2F9biVs%3A1%240'
          1        ASSIGN                                                   !0, ~1
   38     2        INIT_DYNAMIC_CALL                                        !0
          3        DO_FCALL                                      0          
          4      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2F9biVs%3A1%240:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 26, Position 2 = 32
Branch analysis from position: 26
1 jumps found. (Code = 42) Position 1 = 34
Branch analysis from position: 34
2 jumps found. (Code = 43) Position 1 = 89, Position 2 = 92
Branch analysis from position: 89
1 jumps found. (Code = 42) Position 1 = 94
Branch analysis from position: 94
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 92
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 32
2 jumps found. (Code = 43) Position 1 = 89, Position 2 = 92
Branch analysis from position: 89
Branch analysis from position: 92
filename:       /in/9biVs
function name:  {closure}
number of ops:  119
compiled vars:  !0 = $AR_this, !1 = $local
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   RECV                                             !0      
          1        NEW                                              $2      'ar_core_pinpSandbox'
          2        SEND_VAR_EX                                              !0
          3        DO_FCALL                                      0          
          4        ASSIGN                                                   !1, $2
    2     5        INIT_METHOD_CALL                                         !1, 'load'
          6        SEND_VAL_EX                                              'mod_edit.php'
          7        DO_FCALL                                      0          
    3     8        INIT_STATIC_METHOD_CALL                                  'pinp_ar', '_acquire'
          9        SEND_VAL_EX                                              'settings.graphicsURL'
         10        DO_FCALL                                      0  $7      
         11        ASSIGN_OBJ                                               !1, 'graphicsURL'
         12        OP_DATA                                                  $7
    4    13        INIT_STATIC_METHOD_CALL                                  'pinp_ar', '_acquire'
         14        SEND_VAL_EX                                              'settings.site'
         15        DO_FCALL                                      0  $9      
         16        ASSIGN_OBJ                                               !1, 'site'
         17        OP_DATA                                                  $9
    5    18        INIT_STATIC_METHOD_CALL                                  'pinp_ar', '_acquire'
         19        SEND_VAL_EX                                              'settings.siteURL'
         20        DO_FCALL                                      0  $11     
         21        ASSIGN_OBJ                                               !1, 'siteURL'
         22        OP_DATA                                                  $11
    6    23        INIT_STATIC_METHOD_CALL                                  'pinp_edit', '_getEditMode'
         24        DO_FCALL                                      0  $13     
         25      > JMPZ                                                     $13, ->32
         26    >   FETCH_OBJ_R                                      ~14     !1, 'siteURL'
         27        INIT_STATIC_METHOD_CALL                                  'pinp_edit', '_getEditTemplate'
         28        DO_FCALL                                      0  $15     
         29        CONCAT                                           ~16     ~14, $15
         30        QM_ASSIGN                                        ~17     ~16
         31      > JMP                                                      ->34
         32    >   FETCH_OBJ_R                                      ~18     !1, 'siteURL'
         33        QM_ASSIGN                                        ~17     ~18
         34    >   ASSIGN_OBJ                                               !1, 'editURL'
         35        OP_DATA                                                  ~17
    7    36        INIT_STATIC_METHOD_CALL                                  'pinp_ar', '_getvar'
         37        SEND_VAL_EX                                              'section'
         38        DO_FCALL                                      0  $20     
         39        ASSIGN_OBJ                                               !1, 'section'
         40        OP_DATA                                                  $20
    9    41        ECHO                                                     '%3C%21DOCTYPE+html%3E%0A%3Chtml+lang%3D%22en%22%3E%0A%3Chead%3E%0A%09%3Clink+rel%3D%22stylesheet%22+href%3D%22'
   12    42        FETCH_OBJ_R                                      ~21     !1, 'graphicsURL'
         43        ECHO                                                     ~21
         44        ECHO                                                     'layout.css%22+type%3D%22text%2Fcss%22%3E%0A%09%3Clink+rel%3D%22stylesheet%22+href%3D%22'
   13    45        FETCH_OBJ_R                                      ~22     !1, 'graphicsURL'
         46        ECHO                                                     ~22
         47        ECHO                                                     'style.css%22+type%3D%22text%2Fcss%22%3E%0A%09%3Ctitle%3E'
   14    48        FETCH_OBJ_R                                      ~23     !1, 'this'
         49        FETCH_OBJ_R                                      ~24     ~23, 'nlsdata'
         50        FETCH_OBJ_R                                      ~25     ~24, 'name'
         51        ECHO                                                     ~25
         52        ECHO                                                     '%3C%2Ftitle%3E%0A%09%3Cscript+type%3D%22text%2Fjavascript%22+src%3D%22'
   15    53        FETCH_OBJ_R                                      ~26     !1, 'graphicsURL'
         54        ECHO                                                     ~26
         55        ECHO                                                     'ariadne.load.js%3Fmuze%2Bmuze.event%22%3E%3C%2Fscript%3E%0A%09%3Cscript+type%3D%22text%2Fjavascript%22+src%3D%22'
   16    56        FETCH_OBJ_R                                      ~27     !1, 'graphicsURL'
         57        ECHO                                                     ~27
         58        ECHO                                                     'search.js%22%3E%3C%2Fscript%3E%0A%09%3Cmeta+charset%3D%22UTF-8%22%3E%0A%3C%2Fhead%3E%0A%3Cbody+class%3D%22'
   19    59        FETCH_OBJ_R                                      ~28     !1, 'this'
         60        FETCH_OBJ_R                                      ~29     ~28, 'type'
         61        ECHO                                                     ~29
         62        ECHO                                                     '%22%3E%0A%3Cdiv+id%3D%22header%22%3E%0A%09'
   22    63        INIT_STATIC_METHOD_CALL                                  'pinp_ar', '_get'
         64        CHECK_FUNC_ARG                                           
         65        FETCH_OBJ_FUNC_ARG                               $30     !1, 'site'
         66        SEND_FUNC_ARG                                            $30
         67        DO_FCALL                                      0  $31     
         68        INIT_METHOD_CALL                                         $31, '_call'
         69        SEND_VAL_EX                                              'view.title.html'
         70        DO_FCALL                                      0          
   23    71        INIT_STATIC_METHOD_CALL                                  'pinp_ar', '_call'
         72        SEND_VAL_EX                                              'view.searchform.html'
         73        DO_FCALL                                      0          
   24    74        INIT_FCALL_BY_NAME                                       'ar'
         75        SEND_VAL_EX                                              'html'
         76        DO_FCALL                                      0  $34     
         77        INIT_METHOD_CALL                                         $34, '_menu'
         78        DO_FCALL                                      0  $35     
   25    79        INIT_METHOD_CALL                                         $35, '_template'
         80        SEND_VAL_EX                                              'menu.item.html'
         81        DO_FCALL                                      0  $36     
   26    82        INIT_METHOD_CALL                                         $36, '_setAttribute'
         83        SEND_VAL_EX                                              'id'
         84        SEND_VAL_EX                                              'menu'
         85        DO_FCALL                                      0  $37     
   27    86        INIT_METHOD_CALL                                         $37, '_current'
         87        FETCH_OBJ_R                                      ~38     !1, 'section'
         88      > JMPZ                                                     ~38, ->92
         89    >   FETCH_OBJ_R                                      ~39     !1, 'section'
         90        QM_ASSIGN                                        ~40     ~39
         91      > JMP                                                      ->94
         92    >   FETCH_OBJ_R                                      ~41     !1, 'editURL'
         93        QM_ASSIGN                                        ~40     ~41
         94    >   SEND_VAL_EX                                              ~40
         95        DO_FCALL                                      0  $42     
   28    96        INIT_METHOD_CALL                                         $42, '_fill'
   29    97        FETCH_OBJ_R                                      ~43     !1, 'editURL'
         98        INIT_ARRAY                                       ~44     'Home', ~43
         99        SEND_VAL_EX                                              ~44
   30   100        INIT_STATIC_METHOD_CALL                                  'pinp_ar', '_get'
        101        CHECK_FUNC_ARG                                           
        102        FETCH_OBJ_FUNC_ARG                               $45     !1, 'site'
        103        SEND_FUNC_ARG                                            $45
        104        DO_FCALL                                      0  $46     
   31   105        INIT_METHOD_CALL                                         $46, '_find'
        106        FETCH_OBJ_R                                      ~47     !1, 'site'
        107        CONCAT                                           ~48     'object.implements%3D%27psection%27+and+object.parent%3D%27', ~47
        108        CONCAT                                           ~49     ~48, '%27'
        109        SEND_VAL_EX                                              ~49
        110        DO_FCALL                                      0  $50     
   32   111        INIT_METHOD_CALL                                         $50, '_order'
        112        SEND_VAL_EX                                              'object.priority+ASC'
        113        DO_FCALL                                      0  $51     
        114        SEND_VAR_NO_REF_EX                                       $51
        115        DO_FCALL                                      0  $52     
        116        ECHO                                                     $52
   36   117        ECHO                                                     '%3C%2Fdiv%3E%0A%3Chr+class%3D%22noscreen%22%3E%0A'
   38   118      > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2F9biVs%3A1%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.16 ms | 1407 KiB | 13 Q