3v4l.org

run code in 300+ PHP versions simultaneously
<?php $Info = array( array('name'=> 'a', 'description'=>'b'), array('name'=> 'c', 'description'=>'d'), array('name'=> 'e', 'description'=>'f') ); echo('<div class="tbl">'); foreach($this->inventory as $ID => $Info) { echo('<div class="block">'); echo('<p>Name: ' . $Info['name'] . '</p><p>Description: ' . $Info['description'] . '</p>'); echo('</div>'); } echo('</div>');
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 5, Position 2 = 17
Branch analysis from position: 5
2 jumps found. (Code = 78) Position 1 = 6, Position 2 = 17
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
filename:       /in/I7kGl
function name:  (null)
number of ops:  20
compiled vars:  !0 = $Info, !1 = $ID
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    9     1        ECHO                                                     '%3Cdiv+class%3D%22tbl%22%3E'
   10     2        FETCH_THIS                                       $3      
          3        FETCH_OBJ_R                                      ~4      $3, 'inventory'
          4      > FE_RESET_R                                       $5      ~4, ->17
          5    > > FE_FETCH_R                                       ~6      $5, !0, ->17
          6    >   ASSIGN                                                   !1, ~6
   11     7        ECHO                                                     '%3Cdiv+class%3D%22block%22%3E'
   12     8        FETCH_DIM_R                                      ~8      !0, 'name'
          9        CONCAT                                           ~9      '%3Cp%3EName%3A+', ~8
         10        CONCAT                                           ~10     ~9, '%3C%2Fp%3E%3Cp%3EDescription%3A+'
         11        FETCH_DIM_R                                      ~11     !0, 'description'
         12        CONCAT                                           ~12     ~10, ~11
         13        CONCAT                                           ~13     ~12, '%3C%2Fp%3E'
         14        ECHO                                                     ~13
   13    15        ECHO                                                     '%3C%2Fdiv%3E'
   10    16      > JMP                                                      ->5
         17    >   FE_FREE                                                  $5
   15    18        ECHO                                                     '%3C%2Fdiv%3E'
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.82 ms | 1393 KiB | 13 Q