3v4l.org

run code in 300+ PHP versions simultaneously
<?php $options = [ 'where' => [ 'EXTID' => '1234fad34' ], 'web' => 2, ]; $options = array_merge_recursive($options, ['where' => ['web' => 1]]) ; var_dump($options); die();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/quE5W
function name:  (null)
number of ops:  11
compiled vars:  !0 = $options
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, <array>
   11     1        INIT_FCALL                                               'array_merge_recursive'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 <array>
          4        DO_ICALL                                         $2      
          5        ASSIGN                                                   !0, $2
   12     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                                 
   15     9      > EXIT                                                     
         10*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.37 ms | 1394 KiB | 17 Q