Skip to content

Instantly share code, notes, and snippets.

@PEMapModder
Created July 28, 2015 14:48
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 PEMapModder/5aec16ecf142e7d95bd6 to your computer and use it in GitHub Desktop.
Save PEMapModder/5aec16ecf142e7d95bd6 to your computer and use it in GitHub Desktop.
<?php
$statement = false; // false; a lie
if($statement === true){ // if $statement is true
$fact = $statement; // the fact is exactly that statement.
}else{ // else, i.e. $statement is false
$fact = !$statement; // the fact is the opposite (NOT; !) of $statement
}
if($fact === true){
echo "Alright, the fact is true of course, rubbish.";
}else{
echo "Did Ingsoc hack my computer? Fact is true, and nobody can change it!"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment