1$myArr = [1, 2, 3, 4];
2
3array_push($myArr, 5, 8);
4print_r($myArr); // [1, 2, 3, 4, 5, 8]
5
6$myArr[] = -1;
7print_r($myArr); // [1, 2, 3, 4, 5, 8, -1]
1
2<?php
3$stack = array("orange", "banana");
4array_push($stack, "apple", "raspberry");
5?>
6
7