3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr[999][] = 'first'; $arr[256][] = 'sec'; $arr[123][] = 'third'; $arr[555][] = 'four'; $arr[256][] = 'five'; foreach($arr AS $strData) { var_dump($strData); //echo $strData . PHP_EOL; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 16, Position 2 = 21
Branch analysis from position: 16
2 jumps found. (Code = 78) Position 1 = 17, Position 2 = 21
Branch analysis from position: 17
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 21
filename:       /in/1NaoG
function name:  (null)
number of ops:  23
compiled vars:  !0 = $arr, !1 = $strData
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   FETCH_DIM_W                                      $2      !0, 999
          1        ASSIGN_DIM                                               $2
          2        OP_DATA                                                  'first'
    3     3        FETCH_DIM_W                                      $4      !0, 256
          4        ASSIGN_DIM                                               $4
          5        OP_DATA                                                  'sec'
    4     6        FETCH_DIM_W                                      $6      !0, 123
          7        ASSIGN_DIM                                               $6
          8        OP_DATA                                                  'third'
    5     9        FETCH_DIM_W                                      $8      !0, 555
         10        ASSIGN_DIM                                               $8
         11        OP_DATA                                                  'four'
    6    12        FETCH_DIM_W                                      $10     !0, 256
         13        ASSIGN_DIM                                               $10
         14        OP_DATA                                                  'five'
    8    15      > FE_RESET_R                                       $12     !0, ->21
         16    > > FE_FETCH_R                                               $12, !1, ->21
   10    17    >   INIT_FCALL                                               'var_dump'
         18        SEND_VAR                                                 !1
         19        DO_ICALL                                                 
    8    20      > JMP                                                      ->16
         21    >   FE_FREE                                                  $12
   12    22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.02 ms | 1395 KiB | 15 Q