3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = array( 'pageData' => array( 'title' => 'Links • Intranet', ), 'linkCategories' => array( 'Unsorted' => array( array( 'linkTitle' => 'a link title', 0 => 'a link title', 'linkDescription' => 'This is an example of a link you can store. This is the external website', 1 => 'This is an example of a link you can store. This is the external website', 'linkUrl' => 'https://www.asbcdef.co.uk/', 2 => 'https://www.abcdef.co.uk/', ), array( 'linkTitle' => 'People', 0 => 'People', 'linkDescription' => 'This is another link', 1 => 'This is another link', 'linkUrl' => 'https://www.efgjk.co.uk/people/', 2 => 'https://www.efgjk.co.uk/people/', ), ), 'Cat 2' => array( array( 'linkTitle' => 'People', 0 => 'People', 'linkDescription' => 'This is another link', 1 => 'This is another link', 'linkUrl' => 'https://www.efgjk.co.uk/people/', 2 => 'https://www.efgjk.co.uk/people/', ), ) ), ); foreach ($data['linkCategories'] as $category => $links) { echo $category . PHP_EOL; foreach ($links as $link) { echo $link['linkTitle'] . PHP_EOL; } echo PHP_EOL . PHP_EOL; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 3, Position 2 = 16
Branch analysis from position: 3
2 jumps found. (Code = 78) Position 1 = 4, Position 2 = 16
Branch analysis from position: 4
2 jumps found. (Code = 77) Position 1 = 8, Position 2 = 13
Branch analysis from position: 8
2 jumps found. (Code = 78) Position 1 = 9, Position 2 = 13
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 3
Branch analysis from position: 3
Branch analysis from position: 13
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
filename:       /in/KGcuv
function name:  (null)
number of ops:  18
compiled vars:  !0 = $data, !1 = $links, !2 = $category, !3 = $link
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   39     1        FETCH_DIM_R                                      ~5      !0, 'linkCategories'
          2      > FE_RESET_R                                       $6      ~5, ->16
          3    > > FE_FETCH_R                                       ~7      $6, !1, ->16
          4    >   ASSIGN                                                   !2, ~7
   40     5        CONCAT                                           ~9      !2, '%0A'
          6        ECHO                                                     ~9
   41     7      > FE_RESET_R                                       $10     !1, ->13
          8    > > FE_FETCH_R                                               $10, !3, ->13
   42     9    >   FETCH_DIM_R                                      ~11     !3, 'linkTitle'
         10        CONCAT                                           ~12     ~11, '%0A'
         11        ECHO                                                     ~12
   41    12      > JMP                                                      ->8
         13    >   FE_FREE                                                  $10
   44    14        ECHO                                                     '%0A%0A'
   39    15      > JMP                                                      ->3
         16    >   FE_FREE                                                  $6
   45    17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
176.25 ms | 1394 KiB | 13 Q