Skip to content

Instantly share code, notes, and snippets.

View iporsut's full-sized avatar
🏠
Working from home

Weerasak Chongnguluam iporsut

🏠
Working from home
View GitHub Profile
<?php
class FizzBuzz {
function toString($number) {
$fizz[true] = "Fizz";
$buzz[true] = "Buzz";
$stillNumber[true] = $number;.
$fizz[false] = $buzz[false] = $stillNumber[false] = '';
$result = '';.