How can the use of strtotime("now") affect the consistency of session variables in PHP?

Using strtotime("now") to set the session variable may lead to inconsistent results because the value of "now" changes every second. To ensure consistency, it's better to use time() function which returns the current Unix timestamp.

// Fix for consistent session variable using time() instead of strtotime("now")
$_SESSION['timestamp'] = time();