concatArray

concatenates (joins) two arrays.

Syntax

concatArray

Returns

returns (array) join result

Parameters

array1 (array)
first array placed at start
array2 (array)
second array, placed at end

Usage

example:

echo(objectToString(concatArray([0,1,2], [3,4,5])));

output: [ 0,  1,  2,  3,  4,  5 ]