3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = Array( Array ( 'count' => 1, '0' => 'Max, Mustermann', '1' => 'Job', '2' => 'Companyname', '3' => 'IT', '4' => 'CEO', '5' => 'N610-611', '6' => '+49 (30) 111111', '7' => '+49 (30) 111111', '8' => 'max@company.de' ), Array ( 'count' => 1, '0' => 'Alicia Keys', '1' => 'Job', '2' => 'Companyname', '3' => 'IT', '4' => 'CEO', '5' => 'N610-N611', '6' => '+49 11111', '7' => '+49 11111', '8' => 'alikey@company.de' ) ); $index_array = array('count','Name','Jobname','Company','Division','CEO','Room','Tel','Fax','E-Mail'); foreach($array as &$value){ $value = array_combine($index_array ,$value); } print_r($array);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 125) Position 1 = 3, Position 2 = 10
Branch analysis from position: 3
2 jumps found. (Code = 126) Position 1 = 4, Position 2 = 10
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 3
Branch analysis from position: 3
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
filename:       /in/VnmWJ
function name:  (null)
number of ops:  15
compiled vars:  !0 = $array, !1 = $index_array, !2 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   30     1        ASSIGN                                                   !1, <array>
   32     2      > FE_RESET_RW                                      $5      !0, ->10
          3    > > FE_FETCH_RW                                              $5, !2, ->10
   33     4    >   INIT_FCALL                                               'array_combine'
          5        SEND_VAR                                                 !1
          6        SEND_VAR                                                 !2
          7        DO_ICALL                                         $6      
          8        ASSIGN                                                   !2, $6
   32     9      > JMP                                                      ->3
         10    >   FE_FREE                                                  $5
   36    11        INIT_FCALL                                               'print_r'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.59 ms | 1005 KiB | 15 Q