Skip to content

Instantly share code, notes, and snippets.

@trishasalas
Created July 8, 2014 05:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trishasalas/5eb8871b1b0b27de1b0b to your computer and use it in GitHub Desktop.
Save trishasalas/5eb8871b1b0b27de1b0b to your computer and use it in GitHub Desktop.
A Princess Bride Quote in php.
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