A

Admin • 828.03K Points
Coach

Q. Which PHP function generates a random integer securely?

  • (A) rand()
  • (B) mt_rand()
  • (C) random_int()
  • (D) shuffle()
  • Correct Answer - Option(C)
  • Views: 9
  • Filed under category PHP
  • Hashtags:

Explanation by: Admin
random_int() is cryptographically secure.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.