3v4l.org

run code in 500+ PHP versions simultaneously
<?php $fieldArray = []; $fieldArray['field_val']['1'] = ['1']; $fieldArray['field_val']['2'] = ['1', '2', '3', '4']; $fieldArray['field_val']['3'] = ['5', '6', '7', '8']; $fieldArray['field_val']['4'] = ['9', '10', '11', '12']; $fieldArray['field_val']['5'] = ['30']; $temp = array_map(null, ...$fieldArray['field_val']); // transposing array
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/62K9a
function name:  (null)
number of ops:  24
compiled vars:  !0 = $fieldArray, !1 = $temp
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                       !0, <array>
    3     1        FETCH_DIM_W                                          $3      !0, 'field_val'
          2        ASSIGN_DIM                                                   $3, 1
          3        OP_DATA                                                      <array>
    4     4        FETCH_DIM_W                                          $5      !0, 'field_val'
          5        ASSIGN_DIM                                                   $5, 2
          6        OP_DATA                                                      <array>
    5     7        FETCH_DIM_W                                          $7      !0, 'field_val'
          8        ASSIGN_DIM                                                   $7, 3
          9        OP_DATA                                                      <array>
    6    10        FETCH_DIM_W                                          $9      !0, 'field_val'
         11        ASSIGN_DIM                                                   $9, 4
         12        OP_DATA                                                      <array>
    7    13        FETCH_DIM_W                                          $11     !0, 'field_val'
         14        ASSIGN_DIM                                                   $11, 5
         15        OP_DATA                                                      <array>
    8    16        INIT_FCALL                                                   'array_map'
         17        SEND_VAL                                                     null
         18        FETCH_DIM_R                                          ~13     !0, 'field_val'
         19        SEND_UNPACK                                                  ~13
         20        CHECK_UNDEF_ARGS                                             
         21        DO_ICALL                                             $14     
         22        ASSIGN                                                       !1, $14
         23      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
167.45 ms | 2203 KiB | 14 Q