+1 vote
in PHP by
Which of the following is a built-in function in PHP that adds a value to the end of an array?

a) array_push()

b) inend_array()

c) into_array()

d) None of the above

1 Answer

0 votes
by

a) array_push()

Description: The array_push() is a built-in function of PHP. This function helps the users to add the elements at the end of the array. It allows to insert any number of elements in an array. Even you can add a string as well as numeric values.

Related questions

+1 vote
asked May 13, 2022 in PHP by john ganales
+1 vote
asked May 13, 2022 in PHP by john ganales
...