I just wan't to add : int array_push(...) return
the new number of elements in the array (php doc). which can be useful and more compact than $myArray[] = ...; $total = count($myArray);.
Also array_push(...) is meaningful when variable is used as stack.