I would like to create two very alike arrays. The second array only has one more item then the first one...
So what I'm trying to achieve is:
$array_one = ('one', 'two', 'three');
$array_two = ('one', 'two', 'three', 'four');
Is there a function to do so? I've looked at things like array_push, array_shift, but those aren't functions meant to do this kind of behavior I think.
Any build in function to "push" one item on a copy of an array?