Skip to content

Instantly share code, notes, and snippets.

@miguel456
Created March 27, 2017 01:16
Show Gist options
  • Save miguel456/2b891d4f4237f92fd026f0b633e6c146 to your computer and use it in GitHub Desktop.
Save miguel456/2b891d4f4237f92fd026f0b633e6c146 to your computer and use it in GitHub Desktop.
<?php
$names = array(array("Cristiano", "Gonçalo", "Tiago", "Cláudia", "Mafalda", "Carolina"), array("Richard", "Steve", "Sam", "Mary", "Caroline", "Carl"));
$actions = array("eating", "fighting", "having sex", "arguing", "cuddling", "watching tv", "cooking dinner", "sleeping");
$ch = $names[rand(0,1)][rand(0,5)] . " and " . $names[rand(0,1)][rand(0,5)] . " are " . $actions[rand(0,7)] . ".";
echo $ch . PHP_EOL;
// Made by Miguel N. (github.com/miguel456). The MIT License.
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment