3v4l.org

run code in 500+ PHP versions simultaneously
<?php $preset = array( 'zusatzfeld' => array( 'a' => 'b', ), ); $zusatzfelder = ""; foreach($preset[zusatzfeld] as $key => $value){ $zusatzfelder .= "<input type='text' value='" .$value ."' name='zusatzfeld[" .$key ."]'>"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 5, Position 2 = 13
Branch analysis from position: 5
2 jumps found. (Code = 78) Position 1 = 6, Position 2 = 13
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
filename:       /in/TtGj5
function name:  (null)
number of ops:  15
compiled vars:  !0 = $preset, !1 = $zusatzfelder, !2 = $value, !3 = $key
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, <array>
    9     1        ASSIGN                                                       !1, ''
   10     2        FETCH_CONSTANT                                       ~6      'zusatzfeld'
          3        FETCH_DIM_R                                          ~7      !0, ~6
          4      > FE_RESET_R                                           $8      ~7, ->13
          5    > > FE_FETCH_R                                           ~9      $8, !2, ->13
          6    >   ASSIGN                                                       !3, ~9
   11     7        CONCAT                                               ~11     '%3Cinput+type%3D%27text%27+value%3D%27', !2
          8        CONCAT                                               ~12     ~11, '%27+name%3D%27zusatzfeld%5B'
          9        CONCAT                                               ~13     ~12, !3
         10        CONCAT                                               ~14     ~13, '%5D%27%3E'
         11        ASSIGN_OP                                         8          !1, ~14
   10    12      > JMP                                                          ->5
         13    >   FE_FREE                                                      $8
   12    14      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
115.4 ms | 489 KiB | 9 Q