Q. Which PHP function generates a random string of bytes?
β
Correct Answer: (B)
random_bytes()
Explanation: random_bytes() generates cryptographically secure bytes.