3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array1 = array ( array ( 'id' => 1, 'alias' => 'Anderson', 'location' => 'Semarang', 'up' => 39144, 'status' => 'DOWN' ) ); $array2 = array ( 'last_accessed_by' => 1, 'last_refresh' => '2018-10-29 00:21:39', 'created_at' => '2018-10-29 00:21:39' ); $array1[0] = array_merge($array1[0], $array2); var_export($array1);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/dDGag
function name:  (null)
number of ops:  13
compiled vars:  !0 = $array1, !1 = $array2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   12     1        ASSIGN                                                   !1, <array>
   17     2        INIT_FCALL                                               'array_merge'
          3        FETCH_DIM_R                                      ~5      !0, 0
          4        SEND_VAL                                                 ~5
          5        SEND_VAR                                                 !1
          6        DO_ICALL                                         $6      
          7        ASSIGN_DIM                                               !0, 0
          8        OP_DATA                                                  $6
   18     9        INIT_FCALL                                               'var_export'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
138.1 ms | 999 KiB | 15 Q