Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Fizz Buzz Tweet
<?php
// FizzBuzz? Here, let me tweet that to you:
foreach(range(1,100)as$n){echo$n.':'.((0==$n%5)?'Fizz':'').((0==$n%3)?'Buzz':'').'<br/>';}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment