πŸ“Š PHP
Q. Which PHP function generates a random integer securely?
  • (A) rand()
  • (B) mt_rand()
  • (C) random_int()
  • (D) shuffle()
πŸ’¬ Discuss
βœ… Correct Answer: (C) random_int()

Explanation: random_int() is cryptographically secure.

Explanation by: Kanak Sharma
random_int() is cryptographically secure.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
1
Total Visits
πŸ“½οΈ
5 h ago
Published
πŸŽ–οΈ
Kanak Sharma
Publisher
πŸ“ˆ
81%
Success Rate