3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ ['N', 'N', 'Y', 'Y', 'Y', 'Y'], ['N', 'N', 'Y', 'Y', 'N', 'Y'], ['N', 'N', 'Y', 'Y', 'N', 'Y'], ['Y', 'Y', 'Y', 'Y', 'Y', 'Y'], ]; var_export( array_map( fn(...$column) => implode(',', $column), ...$array ) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/61F9r
function name:  (null)
number of ops:  11
compiled vars:  !0 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   10     1        INIT_FCALL                                               'var_export'
   11     2        INIT_FCALL                                               'array_map'
   12     3        DECLARE_LAMBDA_FUNCTION                          ~2      [0]
          4        SEND_VAL                                                 ~2
   13     5        SEND_UNPACK                                              !0
          6        CHECK_UNDEF_ARGS                                         
   11     7        DO_ICALL                                         $3      
   13     8        SEND_VAR                                                 $3
   10     9        DO_ICALL                                                 
   15    10      > 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/61F9r
function name:  {closure}
number of ops:  7
compiled vars:  !0 = $column
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   RECV_VARIADIC                                    !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:
142.26 ms | 1003 KiB | 16 Q