PHP Source:
<
!DOCTYPE
html
>
<
html
>
<
body
>
<?php
$a1=
array
(
"0"
=>
"red"
,
"1"
=>
"green"
);
$a2=
array
(
"0"
=>
"purple"
,
"1"
=>
"orange"
);
array_splice($a1,
1
,
0
,$a2);
print_r($a1);
?>
<
/body
>
<
/html
>
Result:
Privacy Policy