Skip to content

Instantly share code, notes, and snippets.

@i3or1s
i3or1s / ifelse.php
Last active June 1, 2017 09:44
Someone sometime ago asked me to print out both if and else. Print if and else
<?php
/* I have been asked to print out both if and else.
Put something instead of dots (...) so that the following code prints
string "TotallyImpossible" :
if (...) {
echo "Totally";
} else {
echo "Impossible";

Keybase proof

I hereby claim:

  • I am i3or1s on github.
  • I am borisvujicic (https://keybase.io/borisvujicic) on keybase.
  • I have a public key ASBxHrtxALu84Aqlxql3FaqryBcSN3vPhuHfLxMXVIIP4Ao

To claim this, I am signing this object: