3v4l.org

run code in 300+ PHP versions simultaneously
<?php $custom = array( 'name' => 'delete', 'type' => null, 'label' => null, 'class' => null, 'icon' => null, ); $default = array( 'name' => 'delete', 'type' => 'method', 'label' => 'action.delete', 'class' => '', 'icon' => 'trash', ); $result = array_merge($default, $custom);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/q2roS
function name:  (null)
number of ops:  8
compiled vars:  !0 = $custom, !1 = $default, !2 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   11     1        ASSIGN                                                   !1, <array>
   19     2        INIT_FCALL                                               'array_merge'
          3        SEND_VAR                                                 !1
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $5      
          6        ASSIGN                                                   !2, $5
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.28 ms | 1385 KiB | 15 Q