,<?php
$test_arr['X'][] = 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][0] = 'NEW';
print_r($arr_2);
,Array
(
[X] => Array
(
[0] => Array
(
[0] => Show/Episode is unpublished, or need to add a correct Show ID to COMPASS SHOW INFO section
[par_1] => 1
[par_2] => 2
)
)
[0] => Array
(
[0] => NEW
)
)
Output for 8.3.5
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
,Array
(
[X] => Array
(
[0] => Array
(
[0] => Show/Episode is unpublished, or need to add a correct Show ID to COMPASS SHOW INFO section
[par_1] => 1
[par_2] => 2
)
)
[0] => Array
(
[0] => NEW
)
)