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_map(null, ...$valuesArray)); print_r($finalData);
based on ONZmB
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/I8g70
function name:  (null)
number of ops:  15
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_map'
         5        SEND_VAL                                                 null
         6        SEND_UNPACK                                              !1
         7        DO_ICALL                                         $5      
         8        SEND_VAR                                                 $5
         9        DO_ICALL                                         $6      
        10        QM_ASSIGN                                                !2
  12    11        INIT_FCALL                                               'print_r'
        12        SEND_VAR                                                 !2
        13        DO_ICALL                                                 
        14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.4.0