3v4l.org

run code in 500+ 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 = 61) Position 1 = -2
filename:       /in/B6FYa
function name:  (null)
number of ops:  19
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      > INIT_FCALL                                                   'exit'
         17*       DO_ICALL                                                     
   39    18*     > 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:/in/B6FYa:34}
number of ops:  4
compiled vars:  !0 = $item
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   34     0  E >   RECV                                                 !0      
   35     1        FRAMELESS_ICALL_2                implode             ~1      '%2C+', !0
          2      > RETURN                                                       ~1
   36     3*     > RETURN                                                       null

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
174.79 ms | 2327 KiB | 16 Q