3v4l.org

run code in 200+ PHP versions simultaneously
<?php $keyArray = array("clientId","clientName","clientAdsress","clientPhone"); $valuesArray = array( "0"=>array("1001","aaaaa","ddddddd","22222222"), "1"=>array("1002","bbbbbb","ddddddd","11111111"), "2"=>array("1003","ccccc","ddddddd","33333333") ); $finalData = array_combine($keyArray, array(array_column($valuesArray, 0), array_column($valuesArray, 1), array_column($valuesArray, 2), array_column($valuesArray, 3))); print_r($finalData);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/LsiRC
function name:  (null)
number of ops:  31
compiled vars:  !0 = $keyArray, !1 = $valuesArray, !2 = $finalData
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   2     0  E >   QM_ASSIGN                                                !0
   5     1        QM_ASSIGN                                                !1
  10     2        INIT_FCALL                                               'array_combine'
         3        SEND_VAR                                                 !0
         4        INIT_FCALL                                               'array_column'
         5        SEND_VAR                                                 !1
         6        SEND_VAL                                                 0
         7        DO_ICALL                                         $5      
         8        INIT_ARRAY                                       ~6      $5
  11     9        INIT_FCALL                                               'array_column'
        10        SEND_VAR                                                 !1
        11        SEND_VAL                                                 1
        12        DO_ICALL                                         $7      
        13        ADD_ARRAY_ELEMENT                                ~6      $7
  12    14        INIT_FCALL                                               'array_column'
        15        SEND_VAR                                                 !1
        16        SEND_VAL                                                 2
        17        DO_ICALL                                         $8      
        18        ADD_ARRAY_ELEMENT                                ~6      $8
  13    19        INIT_FCALL                                               'array_column'
        20        SEND_VAR                                                 !1
        21        SEND_VAL                                                 3
        22        DO_ICALL                                         $9      
        23        ADD_ARRAY_ELEMENT                                ~6      $9
        24        SEND_VAL                                                 ~6
        25        DO_ICALL                                         $10     
        26        QM_ASSIGN                                                !2
  14    27        INIT_FCALL                                               'print_r'
        28        SEND_VAR                                                 !2
        29        DO_ICALL                                                 
        30      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.4.0