shuffles random array of values

PHOTO EMBED

Tue May 24 2022 12:37:50 GMT+0000 (Coordinated Universal Time)

Saved by @ignacior66

$colorRange = array('red', 'blue', 'green');
shuffle($colorRange);

//usage example
echo "<p style='font-size:3em;' class='$colorRange[0]'>hello world!</p>";

//classes (red, blue, green) defined in companion stylesheet
content_copyCOPY