3v4l.org

run code in 500+ PHP versions simultaneously
<?php $array = ['name' => 'aalaap', 'age' => 29, 'location' => 'mumbai']; var_export( array_merge( ...array_map(null, array_keys($array), $array) ) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/dYnXM
function name:  (null)
number of ops:  17
compiled vars:  !0 = $array
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, <array>
    5     1        INIT_FCALL                                                   'var_export'
    6     2        INIT_FCALL                                                   'array_merge'
    7     3        INIT_FCALL                                                   'array_map'
          4        SEND_VAL                                                     null
          5        INIT_FCALL                                                   'array_keys'
          6        SEND_VAR                                                     !0
          7        DO_ICALL                                             $2      
          8        SEND_VAR                                                     $2
          9        SEND_VAR                                                     !0
         10        DO_ICALL                                             $3      
         11        SEND_UNPACK                                                  $3
         12        CHECK_UNDEF_ARGS                                             
    6    13        DO_ICALL                                             $4      
    7    14        SEND_VAR                                                     $4
    5    15        DO_ICALL                                                     
    9    16      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
152.92 ms | 1486 KiB | 17 Q