3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = [ 0 => [ 0 => 201767.11, 1 => 514324.91, 2 => 73205.74, ], 1 => [ 0 => 349399.51, 1 => 647217.10, 2 => 3500.00, ], 2 => [ 0 => 285169.05, 1 => 522357.20, 2 => 10.00, ], 3 => [ 0 => 126858.21, 1 => 185190.59, 2 => 0, ], ]; $temp = array_map(function ($item) {return implode(", ", $item); }, array_map(null, ...$arr)); print_r($temp);die;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/vL8Bu
function name:  (null)
number of ops:  17
compiled vars:  !0 = $arr, !1 = $temp
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   34     1        INIT_FCALL                                               'array_map'
          2        DECLARE_LAMBDA_FUNCTION                          ~3      [0]
          3        SEND_VAL                                                 ~3
          4        INIT_FCALL                                               'array_map'
          5        SEND_VAL                                                 null
          6        SEND_UNPACK                                              !0
          7        CHECK_UNDEF_ARGS                                         
          8        DO_ICALL                                         $4      
          9        SEND_VAR                                                 $4
         10        DO_ICALL                                         $5      
         11        ASSIGN                                                   !1, $5
   35    12        INIT_FCALL                                               'print_r'
         13        SEND_VAR                                                 !1
         14        DO_ICALL                                                 
         15      > EXIT                                                     
   36    16*     > 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/vL8Bu
function name:  {closure}
number of ops:  7
compiled vars:  !0 = $item
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   34     0  E >   RECV                                             !0      
          1        INIT_FCALL                                               'implode'
          2        SEND_VAL                                                 '%2C+'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $1      
          5      > RETURN                                                   $1
          6*     > RETURN                                                   null

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.11 ms | 1002 KiB | 16 Q