3v4l.org

run code in 300+ PHP versions simultaneously
<?php $base_image_array = [ ["product_image_one" => ""], ["product_image_two" => ""], ["product_image_three" => ""], ["product_image_four" => ""] ]; $db_product_images = [ ["product_image_one" => "../wp-content/themes/dosco/images/products_images/355_product_image_one.jpg"], ]; var_export(array_replace(...$base_image_array, ...$db_product_images));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/v3rEV
function name:  (null)
number of ops:  11
compiled vars:  !0 = $base_image_array, !1 = $db_product_images
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   10     1        ASSIGN                                                   !1, <array>
   14     2        INIT_FCALL                                               'var_export'
          3        INIT_FCALL                                               'array_replace'
          4        SEND_UNPACK                                              !0
          5        SEND_UNPACK                                              !1
          6        CHECK_UNDEF_ARGS                                         
          7        DO_ICALL                                         $4      
          8        SEND_VAR                                                 $4
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
267.47 ms | 1394 KiB | 18 Q