Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
phpでワンライナーfizzbuzz
<?php foreach(range(1,100)as$i){echo($i%5&&$i%3?$i:'').($i%5?'':'fizz').($i%3?'':'buzz')."\n";}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment