Optimize code a bit.

This commit is contained in:
Nicolás A. Ortega Froysa 2022-11-12 11:50:32 +01:00
parent 629c828a6b
commit 4dccda3690

View File

@ -9,6 +9,6 @@
$imgs[0] = "imgs/img0.jpg";
$imgs[1] = "imgs/img1.jpg";
?>
<img src="<?= $imgs[rand(0, 1)] ?>" />
<img src="<?= $imgs[mt_rand(0, count($imgs) - 1)] ?>" />
</body>
</html>