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' )); foreach ($array as &$arr) { $arr = array_combine(array('count', 'Name', 'Job', 'Company', 'Division', 'CEO', 'Room', 'Tel', 'Fax', 'E-Mail'), array_values($arr)); } print_r($array);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 125) Position 1 = 2, Position 2 = 12
Branch analysis from position: 2
2 jumps found. (Code = 126) Position 1 = 3, Position 2 = 12
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 2
Branch analysis from position: 2
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
filename:       /in/OGCg9
function name:  (null)
number of ops:  17
compiled vars:  !0 = $array, !1 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   29     1      > FE_RESET_RW                                      $3      !0, ->12
          2    > > FE_FETCH_RW                                              $3, !1, ->12
   30     3    >   INIT_FCALL                                               'array_combine'
          4        SEND_VAL                                                 <array>
          5        INIT_FCALL                                               'array_values'
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                         $4      
          8        SEND_VAR                                                 $4
          9        DO_ICALL                                         $5      
         10        ASSIGN                                                   !1, $5
   29    11      > JMP                                                      ->2
         12    >   FE_FREE                                                  $3
   32    13        INIT_FCALL                                               'print_r'
         14        SEND_VAR                                                 !0
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
179.13 ms | 1395 KiB | 19 Q