PHP function array_merge () combined array analysis of specific methods



We may be on the PHP function array_merge () may not be very understanding.But it's presented by this PHP function array_merge () the array of combined function, the function we will certainly have some degree of understanding.It can merge two or more arrays into a new array, the array element in the merger when the merger is based on the original array in order to be called to decide the order.

If the original array itself has been re-sorted, then the merger is completed in an array, you have generated a new array for re-ordering again.The following example on the introduction of PHP function array_merge () of use:
";}?>
Showing results are as follows:

0: apple

1: orange

2: banana

3: Peach

4: pear

5: carrot

6: green beans

7: asparagus

8: artichoke

9: corn

PHP function array_merge () in the array to use the combination as shown above.