A

Admin • 833K Points
Coach

Q. Which function is used to generate unique IDs in PHP?

  • (A) unique_id()
  • (B) genid()
  • (C) uniqid()
  • (D) random_id()
  • Correct Answer - Option(C)
  • Views: 19
  • Filed under category PHP
  • Hashtags:

Explanation by: Admin

uniqid() generates a unique identifier based on the current time in microseconds.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.