3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(-1); $b = array(array('id' => 1, 'fid' => 2), array('id' => 2, 'fid' => 2)); $map = array(); foreach($b as $record) { $map[$record['id']][] = $record; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 6, Position 2 = 12
Branch analysis from position: 6
2 jumps found. (Code = 78) Position 1 = 7, Position 2 = 12
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
filename:       /in/IGNZk
function name:  (null)
number of ops:  14
compiled vars:  !0 = $b, !1 = $map, !2 = $record
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 -1
          2        DO_ICALL                                                 
    4     3        ASSIGN                                                   !0, <array>
    6     4        ASSIGN                                                   !1, <array>
    8     5      > FE_RESET_R                                       $6      !0, ->12
          6    > > FE_FETCH_R                                               $6, !2, ->12
    9     7    >   FETCH_DIM_R                                      ~7      !2, 'id'
          8        FETCH_DIM_W                                      $8      !1, ~7
          9        ASSIGN_DIM                                               $8
         10        OP_DATA                                                  !2
    8    11      > JMP                                                      ->6
         12    >   FE_FREE                                                  $6
   10    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.46 ms | 1398 KiB | 15 Q