Are there any best practices for naming array keys when storing values in the $_SESSION superglobal?

When storing values in the $_SESSION superglobal, it is important to use clear and descriptive array keys to avoid conflicts or confusion. Best practices include using relevant and unique names that clearly indicate the purpose of the stored value. This can help maintain code readability and organization.

// Example of using clear and descriptive array keys in $_SESSION superglobal
$_SESSION['user_id'] = 123;
$_SESSION['username'] = 'john_doe';
$_SESSION['is_logged_in'] = true;