3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (strpos($tbl[0],DB_PREFIX) !== false && !stristr($tbl[0],'_fc_')) { $tablename = $tbl[0]; $flds=$db->getAll("describe ".$tablename); $fields=array(); foreach($flds as $nm=>$fldx) { $fld = array_values($fldx); $fields[$fld[0]]=$fld[1]; } $tables[$tablename]=$fields; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 8, Position 2 = 15
Branch analysis from position: 8
2 jumps found. (Code = 43) Position 1 = 16, Position 2 = 39
Branch analysis from position: 16
2 jumps found. (Code = 77) Position 1 = 25, Position 2 = 36
Branch analysis from position: 25
2 jumps found. (Code = 78) Position 1 = 26, Position 2 = 36
Branch analysis from position: 26
1 jumps found. (Code = 42) Position 1 = 25
Branch analysis from position: 25
Branch analysis from position: 36
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 36
Branch analysis from position: 39
Branch analysis from position: 15
filename:       /in/dsHnN
function name:  (null)
number of ops:  40
compiled vars:  !0 = $tbl, !1 = $tablename, !2 = $flds, !3 = $db, !4 = $fields, !5 = $fldx, !6 = $nm, !7 = $fld, !8 = $tables
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'strpos'
          1        FETCH_DIM_R                                      ~9      !0, 0
          2        SEND_VAL                                                 ~9
          3        FETCH_CONSTANT                                   ~10     'DB_PREFIX'
          4        SEND_VAL                                                 ~10
          5        DO_ICALL                                         $11     
          6        TYPE_CHECK                                  1018  ~12     $11
          7      > JMPZ_EX                                          ~12     ~12, ->15
          8    >   INIT_FCALL                                               'stristr'
          9        FETCH_DIM_R                                      ~13     !0, 0
         10        SEND_VAL                                                 ~13
         11        SEND_VAL                                                 '_fc_'
         12        DO_ICALL                                         $14     
         13        BOOL_NOT                                         ~15     $14
         14        BOOL                                             ~12     ~15
         15    > > JMPZ                                                     ~12, ->39
    3    16    >   FETCH_DIM_R                                      ~16     !0, 0
         17        ASSIGN                                                   !1, ~16
    4    18        INIT_METHOD_CALL                                         !3, 'getAll'
         19        CONCAT                                           ~18     'describe+', !1
         20        SEND_VAL_EX                                              ~18
         21        DO_FCALL                                      0  $19     
         22        ASSIGN                                                   !2, $19
    5    23        ASSIGN                                                   !4, <array>
    6    24      > FE_RESET_R                                       $22     !2, ->36
         25    > > FE_FETCH_R                                       ~23     $22, !5, ->36
         26    >   ASSIGN                                                   !6, ~23
    7    27        INIT_FCALL                                               'array_values'
         28        SEND_VAR                                                 !5
         29        DO_ICALL                                         $25     
         30        ASSIGN                                                   !7, $25
    8    31        FETCH_DIM_R                                      ~27     !7, 0
         32        FETCH_DIM_R                                      ~29     !7, 1
         33        ASSIGN_DIM                                               !4, ~27
         34        OP_DATA                                                  ~29
    6    35      > JMP                                                      ->25
         36    >   FE_FREE                                                  $22
   10    37        ASSIGN_DIM                                               !8, !1
         38        OP_DATA                                                  !4
   12    39    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.73 ms | 1400 KiB | 19 Q