Created
May 27, 2011 18:07
-
-
Save franz-josef-kaiser/995803 to your computer and use it in GitHub Desktop.
WordPress Plugin: Give the ultimate answer
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 | |
// 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