int array_push ( array &$array , mixed $value1 [, mixed $... ] );
array_push function treats array as a stack, and pushes the passed variables onto the end of array. The length of array increases by the number of variables pushed.
Your functions are bloated. Put them on a diet. Think "skinny" and "as few lines as possible."
More coming soon…keep checking back.