3v4l.org

run code in 300+ PHP versions simultaneously
,<?php $test_arr[] = array( 'Show/Episode is unpublished, or need to add a correct Show ID to COMPASS SHOW INFO section', 'par_1' => '1', 'par_2' => '2', ); $arr_2 = array(); $arr_2 = array_merge(array(), $test_arr); $arr_2[0] = 'NEW'; print_r($arr_2);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XRbBe
function name:  (null)
number of ops:  15
compiled vars:  !0 = $test_arr, !1 = $arr_2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     '%2C'
    2     1        ASSIGN_DIM                                               !0
    3     2        OP_DATA                                                  <array>
    7     3        ASSIGN                                                   !1, <array>
    8     4        INIT_FCALL                                               'array_merge'
          5        SEND_VAL                                                 <array>
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $4      
          8        ASSIGN                                                   !1, $4
    9     9        ASSIGN_DIM                                               !1, 0
         10        OP_DATA                                                  'NEW'
   12    11        INIT_FCALL                                               'print_r'
         12        SEND_VAR                                                 !1
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
181.97 ms | 1385 KiB | 17 Q