3v4l.org

run code in 300+ 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]; var_export( array_map(function($Value, $Number) { return compact(['Value', 'Number']); }, $values, $numbers) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SeJ44
function name:  (null)
number of ops:  12
compiled vars:  !0 = $values, !1 = $numbers
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, <array>
    6     2        INIT_FCALL                                               'var_export'
    7     3        INIT_FCALL                                               'array_map'
          4        DECLARE_LAMBDA_FUNCTION                          ~4      [0]
    9     5        SEND_VAL                                                 ~4
          6        SEND_VAR                                                 !0
          7        SEND_VAR                                                 !1
    7     8        DO_ICALL                                         $5      
    9     9        SEND_VAR                                                 $5
    6    10        DO_ICALL                                                 
   10    11      > 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/SeJ44
function name:  {closure}
number of ops:  7
compiled vars:  !0 = $Value, !1 = $Number
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   RECV                                             !0      
          1        RECV                                             !1      
    8     2        INIT_FCALL                                               'compact'
          3        SEND_VAL                                                 <array>
          4        DO_ICALL                                         $2      
          5      > RETURN                                                   $2
    9     6*     > RETURN                                                   null

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
141.23 ms | 1007 KiB | 16 Q