array_push()
to add one or more elements to the end of an arrayarray_push()
to add one or more elements to the end of an arrayarray_push()
is used to add one or more elements to the end of an array. It modifies the original array by appending the given values. This can be useful when you want to expand an array dynamically.