Skip to content

Instantly share code, notes, and snippets.

@franz-josef-kaiser
Created May 27, 2011 18:07
Show Gist options
  • Save franz-josef-kaiser/995803 to your computer and use it in GitHub Desktop.
Save franz-josef-kaiser/995803 to your computer and use it in GitHub Desktop.
WordPress Plugin: Give the ultimate answer
<?php
// Straight from "The Hitchhiker's Guide to the Galaxy"
// Try to put 'Taylor' as first name & 'Yates' as $last_name
function answer_my_question( $first_name, $last_name )
{
$answer_to_all_questions = floor( intval( octdec( decoct( md5( $last_name ) ) ) ) / intval( octdec( decoct( md5( $first_name ) ) ) ) * 9 );
echo $answer_to_all_questions;
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment