3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = [ ['01','03','02','15'], ['05','04','06','10'], ['07','09','08','11'], ['12','14','13','16'], ]; var_export( implode( '|', array_map( fn() => implode(',', func_get_args()), ...$input ) ) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/VPLhs
function name:  (null)
number of ops:  15
compiled vars:  !0 = $input
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                                               'implode'
   12     3        SEND_VAL                                                 '%7C'
   13     4        INIT_FCALL                                               'array_map'
   14     5        DECLARE_LAMBDA_FUNCTION                          ~2      [0]
          6        SEND_VAL                                                 ~2
   15     7        SEND_UNPACK                                              !0
          8        CHECK_UNDEF_ARGS                                         
   13     9        DO_ICALL                                         $3      
   15    10        SEND_VAR                                                 $3
   11    11        DO_ICALL                                         $4      
   15    12        SEND_VAR                                                 $4
   10    13        DO_ICALL                                                 
   18    14      > 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/VPLhs
function name:  {closure}
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   14     0  E >   INIT_FCALL                                               'implode'
          1        SEND_VAL                                                 '%2C'
          2        FUNC_GET_ARGS                                    ~0      
          3        SEND_VAL                                                 ~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:
146.21 ms | 1000 KiB | 16 Q