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, ], ]; $arr = array_map(null, ...$arr); $temp = array_map(function ($item) { return implode(", ", $item); }, $arr); print_r($temp);die;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/B6FYa
function name:  (null)
number of ops:  18
compiled vars:  !0 = $arr, !1 = $temp
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   33     1        INIT_FCALL                                               'array_map'
          2        SEND_VAL                                                 null
          3        SEND_UNPACK                                              !0
          4        CHECK_UNDEF_ARGS                                         
          5        DO_ICALL                                         $3      
          6        ASSIGN                                                   !0, $3
   34     7        INIT_FCALL                                               'array_map'
          8        DECLARE_LAMBDA_FUNCTION                          ~5      [0]
   36     9        SEND_VAL                                                 ~5
         10        SEND_VAR                                                 !0
   34    11        DO_ICALL                                         $6      
         12        ASSIGN                                                   !1, $6
   38    13        INIT_FCALL                                               'print_r'
         14        SEND_VAR                                                 !1
         15        DO_ICALL                                                 
         16      > EXIT                                                     
   39    17*     > 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/B6FYa
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      
   35     1        INIT_FCALL                                               'implode'
          2        SEND_VAL                                                 '%2C+'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $1      
          5      > RETURN                                                   $1
   36     6*     > RETURN                                                   null

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.6 ms | 1002 KiB | 16 Q