3v4l.org

run code in 300+ PHP versions simultaneously
<?php //Enter your code here, enjoy! $array = array(); $array[] = "usernaam1"; $array[] = "usernaam2"; $array[] = "usernaam3"; $array[] = "usernaam4"; foreach( $array as $key => $value ){ echo $key."\t=>\t".$value."\n"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 10, Position 2 = 17
Branch analysis from position: 10
2 jumps found. (Code = 78) Position 1 = 11, Position 2 = 17
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
filename:       /in/po8Pt
function name:  (null)
number of ops:  19
compiled vars:  !0 = $array, !1 = $value, !2 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, <array>
    5     1        ASSIGN_DIM                                               !0
          2        OP_DATA                                                  'usernaam1'
    6     3        ASSIGN_DIM                                               !0
          4        OP_DATA                                                  'usernaam2'
    7     5        ASSIGN_DIM                                               !0
          6        OP_DATA                                                  'usernaam3'
    8     7        ASSIGN_DIM                                               !0
          8        OP_DATA                                                  'usernaam4'
   10     9      > FE_RESET_R                                       $8      !0, ->17
         10    > > FE_FETCH_R                                       ~9      $8, !1, ->17
         11    >   ASSIGN                                                   !2, ~9
   11    12        CONCAT                                           ~11     !2, '%09%3D%3E%09'
         13        CONCAT                                           ~12     ~11, !1
         14        CONCAT                                           ~13     ~12, '%0A'
         15        ECHO                                                     ~13
   10    16      > JMP                                                      ->10
         17    >   FE_FREE                                                  $8
   12    18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164 ms | 1394 KiB | 13 Q