A

Admin • 828.03K Points
Coach

Q. What is the difference between array_diff() and array_diff_assoc() functions?

  • (A) array_diff() compares the values only while array_diff_assoc() compares the keys only
  • (B) array_diff() compares the values only while array_diff_assoc() compares the keys and values
  • (C) Both functions can be used to compare the values and keys
  • (D) None of the above
  • Correct Answer - Option(B)
  • Views: 5
  • Filed under category PHP
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.