For day 18 of 21 in the “PHP Function of the day” series, I’m going to look at srand(). The function lets you specify the seed for rand(). In modern versions of PHP, rand() is seeded automatically and there is no real reason to do this. So, why the explanation? YOLO? 🙂 Let’s take a look. <?php …Continue reading "PHP function of the day: srand()"