← All tasks
🧮
Intermediate

Write a Secure UUID Generation Expression

⏱ 3 min ⭐ 90 XP 🔁 3 attempts allowed

What you'll do

Write the PHP expression to generate a version 4 (random) UUID for use as a non-guessable identifier.

Scenario

Sequential integer IDs are being used for password reset links, making them easy to enumerate.

Ready to try it?

Create a free account and subscribe to take "Write a Secure UUID Generation Expression". Earn 90 XP and track your internship progress.

Already have an account? Sign in