3v4l.org

run code in 300+ PHP versions simultaneously
<?php $list = '[["A1","B1","C1","D1","E1"],["A2","B2","C2","D2","E2"],["A3","B3","C3","D3","E3"],["A4","B4","C4","D4","E4"],["A5","B5","C5","D5","E5"]]'; $data = json_decode($list); $maxcols = count($list); for ($row=0; $row<$maxcols; $row++) { for ($col=0; $col<$maxcols; $col++) { print $list[$col][$row]." "; } print "<br>"; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 20
Branch analysis from position: 20
2 jumps found. (Code = 44) Position 1 = 22, Position 2 = 9
Branch analysis from position: 22
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 11
Branch analysis from position: 18
2 jumps found. (Code = 44) Position 1 = 22, Position 2 = 9
Branch analysis from position: 22
Branch analysis from position: 9
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 11
Branch analysis from position: 18
Branch analysis from position: 11
filename:       /in/DEn2T
function name:  (null)
number of ops:  23
compiled vars:  !0 = $list, !1 = $data, !2 = $maxcols, !3 = $row, !4 = $col
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%5B%5B%22A1%22%2C%22B1%22%2C%22C1%22%2C%22D1%22%2C%22E1%22%5D%2C%5B%22A2%22%2C%22B2%22%2C%22C2%22%2C%22D2%22%2C%22E2%22%5D%2C%5B%22A3%22%2C%22B3%22%2C%22C3%22%2C%22D3%22%2C%22E3%22%5D%2C%5B%22A4%22%2C%22B4%22%2C%22C4%22%2C%22D4%22%2C%22E4%22%5D%2C%5B%22A5%22%2C%22B5%22%2C%22C5%22%2C%22D5%22%2C%22E5%22%5D%5D'
    5     1        INIT_FCALL                                               'json_decode'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $6      
          4        ASSIGN                                                   !1, $6
    6     5        COUNT                                            ~8      !0
          6        ASSIGN                                                   !2, ~8
    7     7        ASSIGN                                                   !3, 0
          8      > JMP                                                      ->20
    8     9    >   ASSIGN                                                   !4, 0
         10      > JMP                                                      ->16
    9    11    >   FETCH_DIM_R                                      ~12     !0, !4
         12        FETCH_DIM_R                                      ~13     ~12, !3
         13        CONCAT                                           ~14     ~13, '+'
         14        ECHO                                                     ~14
    8    15        PRE_INC                                                  !4
         16    >   IS_SMALLER                                               !4, !2
         17      > JMPNZ                                                    ~16, ->11
   11    18    >   ECHO                                                     '%3Cbr%3E'
    7    19        PRE_INC                                                  !3
         20    >   IS_SMALLER                                               !3, !2
         21      > JMPNZ                                                    ~18, ->9
   12    22    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.85 ms | 1401 KiB | 15 Q