3v4l.org

run code in 300+ PHP versions simultaneously
<?php $images = array( 'topic1' => array('29', '30', '31'), 'topic2' => array('40'), 'topic3' => array('06', '07', '08', '09', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19'), 'topic4' => array('32') ); foreach($images as $what => $topic) { echo '<div class="what">' . $what . '</div>' . "\n"; foreach($topic as $key => $img) { echo '<img src="' . $img . '.png"/>' . "\n"; } }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 2, Position 2 = 18
Branch analysis from position: 2
2 jumps found. (Code = 78) Position 1 = 3, Position 2 = 18
Branch analysis from position: 3
2 jumps found. (Code = 77) Position 1 = 9, Position 2 = 16
Branch analysis from position: 9
2 jumps found. (Code = 78) Position 1 = 10, Position 2 = 16
Branch analysis from position: 10
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
Branch analysis from position: 16
1 jumps found. (Code = 42) Position 1 = 2
Branch analysis from position: 2
Branch analysis from position: 16
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 18
filename:       /in/nkp90
function name:  (null)
number of ops:  20
compiled vars:  !0 = $images, !1 = $topic, !2 = $what, !3 = $img, !4 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   10     1      > FE_RESET_R                                       $6      !0, ->18
          2    > > FE_FETCH_R                                       ~7      $6, !1, ->18
          3    >   ASSIGN                                                   !2, ~7
   11     4        CONCAT                                           ~9      '%3Cdiv+class%3D%22what%22%3E', !2
          5        CONCAT                                           ~10     ~9, '%3C%2Fdiv%3E'
          6        CONCAT                                           ~11     ~10, '%0A'
          7        ECHO                                                     ~11
   12     8      > FE_RESET_R                                       $12     !1, ->16
          9    > > FE_FETCH_R                                       ~13     $12, !3, ->16
         10    >   ASSIGN                                                   !4, ~13
   13    11        CONCAT                                           ~15     '%3Cimg+src%3D%22', !3
         12        CONCAT                                           ~16     ~15, '.png%22%2F%3E'
         13        CONCAT                                           ~17     ~16, '%0A'
         14        ECHO                                                     ~17
   12    15      > JMP                                                      ->9
         16    >   FE_FREE                                                  $12
   10    17      > JMP                                                      ->2
         18    >   FE_FREE                                                  $6
   15    19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.33 ms | 1398 KiB | 13 Q