Home > PHP & Programming > Quizzes > Practice Test: Arrays In PHP
Practice Test: Arrays In PHP
Fast practice, instant feedback. Timer auto-submits when time’s up.
Avg score: 74% Most missed: “The … function removes all duplicate values found in an array, returning an arra…”
Practice Test: Arrays In PHP
Time left 00:00
19 Questions

1. The … function returns a section of an array based on a starting and ending offset value.
2. … function is capable to recursively apply a user-defined function to every element in an array.
3. The function … will return a random number of keys found in an array.
4. … will merge the values together, forming a new array with the preexisting key as its name.
5. … function works functionally the same as count().
6. The … function removes all duplicate values found in an array, returning an array consisting of solely unique values.
7. The function … returns those values located in the first array that are not located in any of the subsequent arrays.
8. The … function reverses the roles of the keys and their corresponding values in an array.
9. The function … allows you to compare the keys of multiple arrays with the comparison algorithm determined by a user-defined function.
10. The … function allows you to compare the keys of multiple arrays with the comparison algorithm determined by a user-defined function.
11. The … function removes all elements of an array found within a specified range, returning those removed elements in the form of an array.
12. The … function returns an array consisting of associative key/value pairs.
13. The … function allows you to compare the keys of multiple arrays with the comparison algorithm determined by a user-defined function.
14. … will simply overwrite the preexisting key/value pair, replacing it with the one found in the current input array.
15. The … function will pass each element of an array to the user-defined function.
16. … function works functionally the same as count().
17. … will simply overwrite the preexisting key/value pair, replacing it with the one found in the current input array.
18. The … function adds all the values of input_array together, returning the final sum.
19. The function … will return a random number of keys found in an array.