The Array Push method in PHP is used for Inserting elements Into an array. The Syntax goes something like this-
$array is the Array
$element is the element that needs to be Inserted Into an array.
Now 2 is an element of the array.