3v4l.org

run code in 300+ PHP versions simultaneously
<?php $users = [ ['email' => 'oldemail@email.com', 'state' => 'IL'], ['email' => 'diditwork@email.com', 'state' => 'HI'], ]; $jobs = [ ['title' => 'Marketing Coordinator', 'location' => 'Chicago', 'state' => 'IL'], ['title' => 'Sales Manager (MA)', 'location' => 'Springfield', 'state' => 'IL'], ['title' => 'Security Guard/Driver', 'location' => 'Big Island', 'state' => 'HI'], ['title' => 'Directory of Sales and Operation Planning', 'location' => 'Honolulu', 'state' => 'HI'], ['title' => 'Associate, Strategic Finance', 'location' => 'Joliet', 'state' => 'IL'], ]; foreach ($users as ['state' => $state, 'jobs' => &$ref[$state]]); foreach ($jobs as $job) { $ref[$job['state']][] = $job; } var_export($users);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 125) Position 1 = 3, Position 2 = 12
Branch analysis from position: 3
2 jumps found. (Code = 126) Position 1 = 4, Position 2 = 12
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 3
Branch analysis from position: 3
Branch analysis from position: 12
2 jumps found. (Code = 77) Position 1 = 14, Position 2 = 20
Branch analysis from position: 14
2 jumps found. (Code = 78) Position 1 = 15, Position 2 = 20
Branch analysis from position: 15
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 20
Branch analysis from position: 12
filename:       /in/HW8Dd
function name:  (null)
number of ops:  25
compiled vars:  !0 = $users, !1 = $jobs, !2 = $state, !3 = $ref, !4 = $job
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    8     1        ASSIGN                                                   !1, <array>
   16     2      > FE_RESET_RW                                      $7      !0, ->12
          3    > > FE_FETCH_RW                                              $7, $8, ->12
          4    >   FETCH_LIST_R                                     $9      $8, 'state'
          5        ASSIGN                                                   !2, $9
          6        FETCH_LIST_W                                     $11     $8, 'jobs'
          7        MAKE_REF                                         $12     $11
          8        FETCH_DIM_W                                      $13     !3, !2
          9        ASSIGN_REF                                               $13, $12
         10        FREE                                                     $8
         11      > JMP                                                      ->3
         12    >   FE_FREE                                                  $7
   18    13      > FE_RESET_R                                       $15     !1, ->20
         14    > > FE_FETCH_R                                               $15, !4, ->20
   19    15    >   FETCH_DIM_R                                      ~16     !4, 'state'
         16        FETCH_DIM_W                                      $17     !3, ~16
         17        ASSIGN_DIM                                               $17
         18        OP_DATA                                                  !4
   18    19      > JMP                                                      ->14
         20    >   FE_FREE                                                  $15
   22    21        INIT_FCALL                                               'var_export'
         22        SEND_VAR                                                 !0
         23        DO_ICALL                                                 
         24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.02 ms | 998 KiB | 14 Q