3v4l.org

run code in 300+ PHP versions simultaneously
<?php $testSite = array( 'name' => 'test site', 'modules' => array( 'foo' => 'true', 'bar' => 'true' ) ); $testData = array( 'modules' => array( 'bar' => 'false' ) ); print_r('before ' . $testSite); $testSite = array_merge_recursive($testSite, $testData); print_r('after ' . $testSite);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/auqLs
function name:  (null)
number of ops:  16
compiled vars:  !0 = $testSite, !1 = $testData
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    9     1        ASSIGN                                                   !1, <array>
   15     2        INIT_FCALL                                               'print_r'
          3        CONCAT                                           ~4      'before+', !0
          4        SEND_VAL                                                 ~4
          5        DO_ICALL                                                 
   16     6        INIT_FCALL                                               'array_merge_recursive'
          7        SEND_VAR                                                 !0
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                         $6      
         10        ASSIGN                                                   !0, $6
   17    11        INIT_FCALL                                               'print_r'
         12        CONCAT                                           ~8      'after+', !0
         13        SEND_VAL                                                 ~8
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.22 ms | 1394 KiB | 17 Q