Skip to content

Instantly share code, notes, and snippets.

@nitrix
Created September 29, 2012 23:41
Show Gist options
  • Save nitrix/3805429 to your computer and use it in GitHub Desktop.
Save nitrix/3805429 to your computer and use it in GitHub Desktop.
<?php
$question = 'Why isn\'t anybody asking questions!?';
$causes = array('it\'s late', 'we talk too much and scare them', 'somebody just asked one', '42');
if ($this->destination == 'Jmz') {
echo 'A mystic error occurred! Please try-again!'."\n";
exit();
}
$n = rand(0, count($causes)-1);
echo $question."\n".'Because '.$causes[$n]."\n";
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment