Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Which in-built function will add a value to the end of an array?

a) array_unshift()
b) into_array()
c) inend_array()
d) array_push()

Answer: d
Explanation: 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.

Join The Discussion