3v4l.org

run code in 300+ PHP versions simultaneously
<?php $leftMenu = array( array('link'=>'Домой', 'href'=>'index.php'), array('link'=>'О нас', 'href'=>'about.php'), array('link'=>'Контакты', 'href'=>'contact.php'), array('link'=>'Таблицы умножения', 'href'=>'table.php'), array('link'=>'Калькулятор', 'href'=>'calc.php') ); foreach ($leftMenu as $key=>$value){ foreach ($value as $html=>$link){ echo "<a href=$html>$link </a>\n"; } }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 2, Position 2 = 16
Branch analysis from position: 2
2 jumps found. (Code = 78) Position 1 = 3, Position 2 = 16
Branch analysis from position: 3
2 jumps found. (Code = 77) Position 1 = 5, Position 2 = 14
Branch analysis from position: 5
2 jumps found. (Code = 78) Position 1 = 6, Position 2 = 14
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
Branch analysis from position: 14
1 jumps found. (Code = 42) Position 1 = 2
Branch analysis from position: 2
Branch analysis from position: 14
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
filename:       /in/V0ibd
function name:  (null)
number of ops:  18
compiled vars:  !0 = $leftMenu, !1 = $value, !2 = $key, !3 = $link, !4 = $html
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   11     1      > FE_RESET_R                                       $6      !0, ->16
          2    > > FE_FETCH_R                                       ~7      $6, !1, ->16
          3    >   ASSIGN                                                   !2, ~7
   12     4      > FE_RESET_R                                       $9      !1, ->14
          5    > > FE_FETCH_R                                       ~10     $9, !3, ->14
          6    >   ASSIGN                                                   !4, ~10
   13     7        ROPE_INIT                                     5  ~13     '%3Ca+href%3D'
          8        ROPE_ADD                                      1  ~13     ~13, !4
          9        ROPE_ADD                                      2  ~13     ~13, '%3E'
         10        ROPE_ADD                                      3  ~13     ~13, !3
         11        ROPE_END                                      4  ~12     ~13, '+%3C%2Fa%3E%0A'
         12        ECHO                                                     ~12
   12    13      > JMP                                                      ->5
         14    >   FE_FREE                                                  $9
   11    15      > JMP                                                      ->2
         16    >   FE_FREE                                                  $6
   15    17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.15 ms | 1398 KiB | 13 Q