A

Admin • 828.03K Points
Coach

Q. Which function creates an array from variables and their values?

  • (A) compact()
  • (B) array()
  • (C) combine()
  • (D) make_array()
  • Correct Answer - Option(A)
  • Views: 13
  • Filed under category PHP
  • Hashtags:

Explanation by: Admin
compact() takes variable names and returns an associative array of their values.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.