Home » PHP » PHP Arrays » Question
  1. Which in-built function will add a value to the end of an array?
    1. array_push()
    2. inend_array()
    3. into_array()
    4. array_unshift()
    5. None of these
Correct Option: A

array_push adds a value to the end of an array, returning the total count of elements in the array after the new value has been added.



Your comments will be displayed only after manual approval.