3v4l.org

run code in 300+ PHP versions simultaneously
<?php function &Website_Index($keys=array(), $value=NULL, &$index=NULL) { static $indexed = array(); if($keys===NULL){$indexed=$value;}#echo "MANUALLY_LOADED_ARRAY";} #if($indexed===NULL){$indexed=API_Array(Website_Index_Array_Path);}#echo "AUTO_LOADED_FILE";}#fastest = include(...); ??? pass filename!!! #if($indexed===NULL){$indexed=API_Array(Website_Index_Array_Path);}#echo "AUTO_LOADED_FILE";}#fastest = include(...); ??? pass filename!!! if($index===NULL){$index=&$indexed;} # by reference! if(count($keys)>0) { $key = array_shift($keys); if(isset($index[$key])){ if(count($keys)>0){ if(is_array($index[$key])){ return Website_Index($keys, $value, $index[$key]); } else{ return NULL; } }else{ if($value!==NULL){ return $index[$key] = $value;} else{ return $index[$key]; } } } else{ return NULL; } } return $index; } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/eqSt6
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   25     0  E > > RETURN                                                   1

Function website_index:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 7
Branch analysis from position: 6
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 10
Branch analysis from position: 9
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 46
Branch analysis from position: 13
2 jumps found. (Code = 43) Position 1 = 19, Position 2 = 45
Branch analysis from position: 19
2 jumps found. (Code = 43) Position 1 = 22, Position 2 = 36
Branch analysis from position: 22
2 jumps found. (Code = 43) Position 1 = 25, Position 2 = 34
Branch analysis from position: 25
Return found
Branch analysis from position: 34
Return found
Branch analysis from position: 36
2 jumps found. (Code = 43) Position 1 = 38, Position 2 = 42
Branch analysis from position: 38
Return found
Branch analysis from position: 42
Return found
Branch analysis from position: 45
Return found
Branch analysis from position: 46
Return found
Branch analysis from position: 10
Branch analysis from position: 7
filename:       /in/eqSt6
function name:  Website_Index
number of ops:  48
compiled vars:  !0 = $keys, !1 = $value, !2 = $index, !3 = $indexed, !4 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   RECV_INIT                                        !0      <array>
          1        RECV_INIT                                        !1      null
          2        RECV_INIT                                        !2      null
    3     3        BIND_STATIC                                              !3
    4     4        TYPE_CHECK                                    2          !0
          5      > JMPZ                                                     ~5, ->7
          6    >   ASSIGN                                                   !3, !1
    7     7    >   TYPE_CHECK                                    2          !2
          8      > JMPZ                                                     ~7, ->10
          9    >   ASSIGN_REF                                               !2, !3
    9    10    >   COUNT                                            ~9      !0
         11        IS_SMALLER                                               0, ~9
         12      > JMPZ                                                     ~10, ->46
   11    13    >   INIT_FCALL                                               'array_shift'
         14        SEND_REF                                                 !0
         15        DO_ICALL                                         $11     
         16        ASSIGN                                                   !4, $11
   12    17        ISSET_ISEMPTY_DIM_OBJ                         0          !2, !4
         18      > JMPZ                                                     ~13, ->45
   13    19    >   COUNT                                            ~14     !0
         20        IS_SMALLER                                               0, ~14
         21      > JMPZ                                                     ~15, ->36
   14    22    >   FETCH_DIM_R                                      ~16     !2, !4
         23        TYPE_CHECK                                  128          ~16
         24      > JMPZ                                                     ~17, ->34
         25    >   INIT_FCALL_BY_NAME                                       'Website_Index'
         26        SEND_VAR_EX                                              !0
         27        SEND_VAR_EX                                              !1
         28        CHECK_FUNC_ARG                                           
         29        FETCH_DIM_FUNC_ARG                               $18     !2, !4
         30        SEND_FUNC_ARG                                            $18
         31        DO_FCALL                                      0  $19     
         32      > RETURN_BY_REF                                            $19
         33*       JMP                                                      ->35
   15    34    > > RETURN_BY_REF                                            null
         35*       JMP                                                      ->44
   17    36    >   TYPE_CHECK                                  1020          !1
         37      > JMPZ                                                     ~20, ->42
         38    >   ASSIGN_DIM                                       ~21     !2, !4
         39        OP_DATA                                                  !1
         40      > RETURN_BY_REF                                            ~21
         41*       JMP                                                      ->44
   18    42    >   FETCH_DIM_W                                      $22     !2, !4
         43      > RETURN_BY_REF                                            $22
         44*       JMP                                                      ->46
   21    45    > > RETURN_BY_REF                                            null
   23    46    > > RETURN_BY_REF                                            !2
   24    47*     > RETURN_BY_REF                                            null

End of function website_index

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.52 ms | 1400 KiB | 15 Q