Sail E0 Webinar
Question
Which in-built function will add a value to the end of an array?
Options:
A .  array_unshift()
B .  into_array()
C .  inend_array()
D .  array_push()
Answer: Option D


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



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers