Say I had this code
$x = array("a", "b", "c", "d", "e");
Is there any function that I could call after creation to duplicate the values, so in the above example $x
would become
array("a", "b", "c", "d", "e", "a", "b", "c", "d", "e");
I thought something like this but it doesn't work
$x = $x + $x;