3v4l.org

run code in 500+ PHP versions simultaneously
<?php $kategorie = [ [ ['SAM_OPO', 'opony', 100], ['SAM_OLE', 'olej', 10], ['SAM_ŚWI', 'świece', 4], ], [ ['VAN_OPO', 'opony', 120], ['VAN_OLE', 'olej', 12], ['VAN_ŚWI', 'świece', 5], ], [ ['CIE_OPO', 'opony', 150], ['CIE_OLE', 'olej', 150], ['CIE_ŚWI', 'świece', 6], ], ]; foreach ($kategorie as $iteration => $array) { echo "Warstwa $iteration". PHP_EOL; foreach ($array as $category) { echo sprintf(" | %s | %s | %s", $category[0], $category[1], $category[2]) . PHP_EOL; } }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 2, Position 2 = 24
Branch analysis from position: 2
2 jumps found. (Code = 78) Position 1 = 3, Position 2 = 24
Branch analysis from position: 3
2 jumps found. (Code = 77) Position 1 = 9, Position 2 = 22
Branch analysis from position: 9
2 jumps found. (Code = 78) Position 1 = 10, Position 2 = 22
Branch analysis from position: 10
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
Branch analysis from position: 22
1 jumps found. (Code = 42) Position 1 = 2
Branch analysis from position: 2
Branch analysis from position: 22
Branch analysis from position: 24
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 24
filename:       /in/JtOMl
function name:  (null)
number of ops:  26
compiled vars:  !0 = $kategorie, !1 = $array, !2 = $iteration, !3 = $category
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                       !0, <array>
   21     1      > FE_RESET_R                                           $5      !0, ->24
          2    > > FE_FETCH_R                                           ~6      $5, !1, ->24
          3    >   ASSIGN                                                       !2, ~6
   22     4        NOP                                                          
          5        FAST_CONCAT                                          ~8      'Warstwa+', !2
          6        CONCAT                                               ~9      ~8, '%0A'
          7        ECHO                                                         ~9
   23     8      > FE_RESET_R                                           $10     !1, ->22
          9    > > FE_FETCH_R                                                   $10, !3, ->22
   24    10    >   FETCH_DIM_R                                          ~11     !3, 0
         11        FETCH_DIM_R                                          ~12     !3, 1
         12        FETCH_DIM_R                                          ~13     !3, 2
         13        ROPE_INIT                                         6  ~15     '+%7C+'
         14        ROPE_ADD                                          1  ~15     ~15, ~11
         15        ROPE_ADD                                          2  ~15     ~15, '+%7C+'
         16        ROPE_ADD                                          3  ~15     ~15, ~12
         17        ROPE_ADD                                          4  ~15     ~15, '+%7C+'
         18        ROPE_END                                          5  ~14     ~15, ~13
         19        CONCAT                                               ~18     ~14, '%0A'
         20        ECHO                                                         ~18
   23    21      > JMP                                                          ->9
         22    >   FE_FREE                                                      $10
   21    23      > JMP                                                          ->2
         24    >   FE_FREE                                                      $5
   26    25      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
242.32 ms | 2828 KiB | 13 Q