3v4l.org

run code in 300+ PHP versions simultaneously
<?php $items = array( 'competency-toolkit' => array( 'title' => t('IC Competencies: Self Assessment'), 'page callback' => 'tbf_survey_start', 'type' => 1, 'access arguments' => array('access competency survey'), ), 'competency-toolkit/report' => array( 'title' => t('IC Competencies Report'), 'page callback' => 'tbf_survey_report_view', 'file' => 'report.survey.inc', 'type' => 2, 'access arguments' => array('view survey reports'), ));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tiqBn
function name:  (null)
number of ops:  19
compiled vars:  !0 = $items
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   INIT_FCALL_BY_NAME                                       't'
          1        SEND_VAL_EX                                              'IC+Competencies%3A+Self+Assessment'
          2        DO_FCALL                                      0  $1      
          3        INIT_ARRAY                                       ~2      $1, 'title'
    7     4        ADD_ARRAY_ELEMENT                                ~2      'tbf_survey_start', 'page+callback'
    8     5        ADD_ARRAY_ELEMENT                                ~2      1, 'type'
    6     6        ADD_ARRAY_ELEMENT                                ~2      <array>, 'access+arguments'
          7        INIT_ARRAY                                       ~3      ~2, 'competency-toolkit'
   13     8        INIT_FCALL_BY_NAME                                       't'
          9        SEND_VAL_EX                                              'IC+Competencies+Report'
         10        DO_FCALL                                      0  $4      
         11        INIT_ARRAY                                       ~5      $4, 'title'
   14    12        ADD_ARRAY_ELEMENT                                ~5      'tbf_survey_report_view', 'page+callback'
   15    13        ADD_ARRAY_ELEMENT                                ~5      'report.survey.inc', 'file'
   16    14        ADD_ARRAY_ELEMENT                                ~5      2, 'type'
    6    15        ADD_ARRAY_ELEMENT                                ~5      <array>, 'access+arguments'
         16        ADD_ARRAY_ELEMENT                                ~3      ~5, 'competency-toolkit%2Freport'
    3    17        ASSIGN                                                   !0, ~3
   18    18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.47 ms | 1393 KiB | 13 Q