mirror of
https://github.com/php/web-php.git
synced 2026-03-23 23:02:13 +01:00
Enhancement: Enable random_api_migration fixer
Co-authored-by: Mathias Reker <mathias@reker.dk> Closes GH-699.
This commit is contained in:
@@ -22,7 +22,7 @@ function print_star(): void
|
||||
function random_bgcolor($min, $max): void
|
||||
{
|
||||
echo "style=\"background-color: #" .
|
||||
sprintf('%02x%02x%02x', rand($min, $max) * 51, rand($min, $max) * 51, rand($min, $max) * 51) .
|
||||
sprintf('%02x%02x%02x', mt_rand($min, $max) * 51, mt_rand($min, $max) * 51, mt_rand($min, $max) * 51) .
|
||||
";\"";
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user