-
-
Save Aaron128l/e4a06a8465eddba4ccb4 to your computer and use it in GitHub Desktop.
Fun Facts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$quotes = array( | |
"Banging your head against a wall burns 150 calories an hour.", | |
"In the UK, it is illegal to eat mince pies on Christmas Day!", | |
"Pteronophobia is the fear of being tickled by feathers!", | |
"When hippos are upset, their sweat turns red.", | |
"A flock of crows is known as a murder.", | |
); | |
$key = array_rand($quotes); | |
echo "Fun Fact #" . ($key+1) . ": " . $quotes[$key]; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment