3v4l.org

run code in 300+ PHP versions simultaneously
<?php //$dataSet = file_get_contents('ADDRESS OF DATABASE FILE'); $dataSet = 't0:4:2,t1:2:5'; foreach(explode(",",$dataSet) AS $subarray) { $array[$key] = explode(":",$subarray); } for($itemNum = 0; $itemNum < sizeof($array); $itemNum++){ echo '<tr>'; for($itemNum2 = 0; $itemNum2 < sizeof($array[$itemNum]); $itemNum2++){ echo '<td>' . $array[$itemNum][$itemNum2] . '</td>'; } echo '</tr>'; } print_r($array); ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 6, Position 2 = 14
Branch analysis from position: 6
2 jumps found. (Code = 78) Position 1 = 7, Position 2 = 14
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
Branch analysis from position: 14
1 jumps found. (Code = 42) Position 1 = 32
Branch analysis from position: 32
2 jumps found. (Code = 44) Position 1 = 35, Position 2 = 17
Branch analysis from position: 35
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
1 jumps found. (Code = 42) Position 1 = 26
Branch analysis from position: 26
2 jumps found. (Code = 44) Position 1 = 30, Position 2 = 20
Branch analysis from position: 30
2 jumps found. (Code = 44) Position 1 = 35, Position 2 = 17
Branch analysis from position: 35
Branch analysis from position: 17
Branch analysis from position: 20
2 jumps found. (Code = 44) Position 1 = 30, Position 2 = 20
Branch analysis from position: 30
Branch analysis from position: 20
Branch analysis from position: 14
filename:       /in/3NBCX
function name:  (null)
number of ops:  39
compiled vars:  !0 = $dataSet, !1 = $subarray, !2 = $array, !3 = $key, !4 = $itemNum, !5 = $itemNum2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 't0%3A4%3A2%2Ct1%3A2%3A5'
    4     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '%2C'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $7      
          5      > FE_RESET_R                                       $8      $7, ->14
          6    > > FE_FETCH_R                                               $8, !1, ->14
    5     7    >   INIT_FCALL                                               'explode'
          8        SEND_VAL                                                 '%3A'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                         $10     
         11        ASSIGN_DIM                                               !2, !3
         12        OP_DATA                                                  $10
    4    13      > JMP                                                      ->6
         14    >   FE_FREE                                                  $8
    8    15        ASSIGN                                                   !4, 0
         16      > JMP                                                      ->32
    9    17    >   ECHO                                                     '%3Ctr%3E'
   10    18        ASSIGN                                                   !5, 0
         19      > JMP                                                      ->26
   11    20    >   FETCH_DIM_R                                      ~13     !2, !4
         21        FETCH_DIM_R                                      ~14     ~13, !5
         22        CONCAT                                           ~15     '%3Ctd%3E', ~14
         23        CONCAT                                           ~16     ~15, '%3C%2Ftd%3E'
         24        ECHO                                                     ~16
   10    25        PRE_INC                                                  !5
         26    >   FETCH_DIM_R                                      ~18     !2, !4
         27        COUNT                                            ~19     ~18
         28        IS_SMALLER                                               !5, ~19
         29      > JMPNZ                                                    ~20, ->20
   13    30    >   ECHO                                                     '%3C%2Ftr%3E'
    8    31        PRE_INC                                                  !4
         32    >   COUNT                                            ~22     !2
         33        IS_SMALLER                                               !4, ~22
         34      > JMPNZ                                                    ~23, ->17
   15    35    >   INIT_FCALL                                               'print_r'
         36        SEND_VAR                                                 !2
         37        DO_ICALL                                                 
   16    38      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.81 ms | 1400 KiB | 17 Q