Is there a recommended way to initialize the seed for random number generation in PHP?

When using random number generation in PHP, it is recommended to initialize the seed for better randomness. One common way to do this is by using the `mt_srand()` function with a unique value, such as the current timestamp. This helps ensure that the random numbers generated are not predictable.

// Initialize seed for random number generation
mt_srand(time());

// Generate a random number between 1 and 100
$randomNumber = mt_rand(1, 100);

echo $randomNumber;