How can I use the array_merge function to merge two or more arrays in PHP? Example code: - Biz Tech

How can I use the array_merge function to merge two or more arrays in PHP? Example code:

$fruits1 = array("apple", "banana", "orange");
$fruits2 = array("grape", "peach", "plum");

$fruits = array_merge($fruits1, $fruits2);

print_r($fruits);