3v4l.org

run code in 500+ PHP versions simultaneously
<?php $values = ["10100153", "2007", "350", "804082", "WW006", "WHT/NNY/OXGM", "35/38", "804082 WW00635/38", "0,00138857", "Champion 3pk Quarter Socks"]; $numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]; $keys = ["Value", "Number"]; var_export( array_map(fn(...$data) => array_combine($keys, $data), $values, $numbers) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/k7XDA
function name:  (null)
number of ops:  14
compiled vars:  !0 = $values, !1 = $numbers, !2 = $keys
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, <array>
    4     1        ASSIGN                                                       !1, <array>
    6     2        ASSIGN                                                       !2, <array>
    7     3        INIT_FCALL                                                   'var_export'
    8     4        INIT_FCALL                                                   'array_map'
          5        DECLARE_LAMBDA_FUNCTION                              ~6      [0]
          6        BIND_LEXICAL                                                 ~6, !2
          7        SEND_VAL                                                     ~6
          8        SEND_VAR                                                     !0
          9        SEND_VAR                                                     !1
         10        DO_ICALL                                             $7      
         11        SEND_VAR                                                     $7
    7    12        DO_ICALL                                                     
    9    13      > RETURN                                                       1


Dynamic Functions:
Dynamic Function 0
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/k7XDA
function name:  {closure:/in/k7XDA:8}
number of ops:  8
compiled vars:  !0 = $data, !1 = $keys
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    8     0  E >   RECV_VARIADIC                                        !0      
          1        BIND_STATIC                                                  !1
          2        INIT_FCALL                                                   'array_combine'
          3        SEND_VAR                                                     !1
          4        SEND_VAR                                                     !0
          5        DO_ICALL                                             $2      
          6      > RETURN                                                       $2
          7*     > RETURN                                                       null

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
157.28 ms | 1819 KiB | 16 Q