Single Choice Not Set

QWhich of the following PHP functions can be used for generating unique id

ID: #2422 Functions in PHP MCQ 692 views
Question Info
#2422Q ID
Not SetDifficulty
Functions in PHP MCQTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A uniqueid()
  • B id()
  • C md5()
  • D mdid()
Correct Answer

Explanation

Many people use the md5() function for this, even though it’s not exactly meant for this purpose. uniqueid() is the function that is to be used.

Share This Question

Challenge a friend or share with your study group.