Home » PHP » PHP Functions » Question
  1. Which of the following PHP functions can be used for generating unique ids?
    1. md5()
    2. mdid()
    3. uniqueid()
    4. id()
    5. None of these
Correct Option: C

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.



Your comments will be displayed only after manual approval.