Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

FizzBuzz One Liner

View gist:3907827
1 2 3 4 5 6
// PHP FizBuzz Solution
// Trying to get lowest bytecount.
// P.S. Yes, I know it's in PHP yadda-yadda-yadda
for($i=1;$i<=100;$i++)print((($i%15==0)?'FizzBuzz':(($i%5==0)?'Buzz':(($i%3==0)?'Fizz':$i)))."\n");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.