A

Admin • 833K Points
Coach

Q. How can you remove an element from an array by its key?

  • (A) unset()
  • (B) remove()
  • (C) delete()
  • (D) array_remove()
  • Correct Answer - Option(A)
  • Views: 31
  • Filed under category PHP
  • Hashtags:

Explanation by: Admin

unset() removes a variable or array element.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.