3v4l.org

run code in 300+ PHP versions simultaneously
<?php $p_41 = array ( 1 => array ( "nomer" => 1, "PIP" => "Баумкетнер Я.", "SB" => 4 ), 2 => array ( "nomer" => 2, "PIP" => "Білик М.", "SB" => 3 ), 3 => array ( "nomer" => 3, "PIP" => "Вівчарик В.", "SB" => 3 ), 4 => array ( "nomer" => 4, "PIP" => "Гайдук Р.", "SB" => 4 ), 5 => array ( "nomer" => 5, "PIP" => "Горбатюк М.", "SB" => 3 ), 6 => array ( "nomer" => 6, "PIP" => "Гуня A.", "SB" => 3 ), 7 => array ( "nomer" => 7, "PIP" => "Дмитрів А.", "SB" => 3 ), 8 => array ( "nomer" => 8, "PIP" => "Дубінський Я.", "SB" => "4" ), 9 => array ( "nomer" => 9, "PIP" => "Жила в.", "SB" => 3 ), 10 => array ( "nomer" => 10, "PIP" => "Жук О.", "SB" => 4 ) ); echo "Номер ПІП СБ \n"; echo "-----------------------------------------\n"; foreach ($p_41 as $nomer => $info) { $k=$nomer++; foreach ($info as $inf => $znach) { echo "$znach "; } echo "\n"; } echo "\n"; if (in_array (2, $p_41)) echo "2 знайдено!<br>"; echo "ключ знайденого елемента - ".array_search(2, $p_41); ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 4, Position 2 = 18
Branch analysis from position: 4
2 jumps found. (Code = 78) Position 1 = 5, Position 2 = 18
Branch analysis from position: 5
2 jumps found. (Code = 77) Position 1 = 9, Position 2 = 15
Branch analysis from position: 9
2 jumps found. (Code = 78) Position 1 = 10, Position 2 = 15
Branch analysis from position: 10
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
Branch analysis from position: 15
1 jumps found. (Code = 42) Position 1 = 4
Branch analysis from position: 4
Branch analysis from position: 15
Branch analysis from position: 18
2 jumps found. (Code = 43) Position 1 = 25, Position 2 = 26
Branch analysis from position: 25
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 26
Branch analysis from position: 18
filename:       /in/PT1Y8
function name:  (null)
number of ops:  33
compiled vars:  !0 = $p_41, !1 = $info, !2 = $nomer, !3 = $k, !4 = $znach, !5 = $inf
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   54     1        ECHO                                                     '%D0%9D%D0%BE%D0%BC%D0%B5%D1%80+++++++++++++++%D0%9F%D0%86%D0%9F+++++++++++++++%D0%A1%D0%91+%0A'
   55     2        ECHO                                                     '-----------------------------------------%0A'
   56     3      > FE_RESET_R                                       $7      !0, ->18
          4    > > FE_FETCH_R                                       ~8      $7, !1, ->18
          5    >   ASSIGN                                                   !2, ~8
   57     6        POST_INC                                         ~10     !2
          7        ASSIGN                                                   !3, ~10
   58     8      > FE_RESET_R                                       $12     !1, ->15
          9    > > FE_FETCH_R                                       ~13     $12, !4, ->15
         10    >   ASSIGN                                                   !5, ~13
   59    11        NOP                                                      
         12        FAST_CONCAT                                      ~15     !4, '+++++++++++++++'
         13        ECHO                                                     ~15
   58    14      > JMP                                                      ->9
         15    >   FE_FREE                                                  $12
   61    16        ECHO                                                     '%0A'
   56    17      > JMP                                                      ->4
         18    >   FE_FREE                                                  $7
   63    19        ECHO                                                     '%0A'
   64    20        INIT_FCALL                                               'in_array'
         21        SEND_VAL                                                 2
         22        SEND_VAR                                                 !0
         23        DO_ICALL                                         $16     
         24      > JMPZ                                                     $16, ->26
         25    >   ECHO                                                     '2+%D0%B7%D0%BD%D0%B0%D0%B9%D0%B4%D0%B5%D0%BD%D0%BE%21%3Cbr%3E'
   65    26    >   INIT_FCALL                                               'array_search'
         27        SEND_VAL                                                 2
         28        SEND_VAR                                                 !0
         29        DO_ICALL                                         $17     
         30        CONCAT                                           ~18     '%D0%BA%D0%BB%D1%8E%D1%87+%D0%B7%D0%BD%D0%B0%D0%B9%D0%B4%D0%B5%D0%BD%D0%BE%D0%B3%D0%BE+%D0%B5%D0%BB%D0%B5%D0%BC%D0%B5%D0%BD%D1%82%D0%B0+-+', $17
         31        ECHO                                                     ~18
   66    32      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
176.8 ms | 1400 KiB | 17 Q