3v4l.org

run code in 300+ 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    >   INIT_FCALL                                               'sprintf'
         11        SEND_VAL                                                 '+%7C+%25s+%7C+%25s+%7C+%25s'
         12        FETCH_DIM_R                                      ~11     !3, 0
         13        SEND_VAL                                                 ~11
         14        FETCH_DIM_R                                      ~12     !3, 1
         15        SEND_VAL                                                 ~12
         16        FETCH_DIM_R                                      ~13     !3, 2
         17        SEND_VAL                                                 ~13
         18        DO_ICALL                                         $14     
         19        CONCAT                                           ~15     $14, '%0A'
         20        ECHO                                                     ~15
   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.0.0


preferences:
163.41 ms | 1401 KiB | 15 Q