Created
July 8, 2014 05:56
-
-
Save trishasalas/5eb8871b1b0b27de1b0b to your computer and use it in GitHub Desktop.
A Princess Bride Quote in php.
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
class That_Word() { | |
$word = 'what you think the word means'; | |
$that_word = 'what the word really means'; | |
you_using_that_word(){ | |
$word <> $that_word; | |
} | |
} | |
class Inconceivable extends That_Word() { | |
public $that_word = "Inconceivable"; | |
public function saying_the_word() { | |
echo $this->that_word; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment