Home »
MCQs »
PHP MCQs
Which PHP function(s) is/are used to compare arrays and returns the differences?
112. Which PHP function(s) is/are used to compare arrays and returns the differences?
- array_diff()
- array_diff_assoc()
- array_diff_key()
- All of the above
Answer: D) All of the above
Explanation:
All of the above PHP functions are used to compare arrays and returns the differences.