Skip to content

Created a PHP.php file for FizzBuzz#30

Open
Dileepadari wants to merge 2 commits into
OSDG-IIITH:masterfrom
Dileepadari:master
Open

Created a PHP.php file for FizzBuzz#30
Dileepadari wants to merge 2 commits into
OSDG-IIITH:masterfrom
Dileepadari:master

Conversation

@Dileepadari

@Dileepadari Dileepadari commented Apr 10, 2026

Copy link
Copy Markdown

Related Issues

Fixes Implementing FizzBuzz in PHP and closes #11

What Does This PR Do?

Added

  • Implementation of the classic FizzBuzz problem in PHP.
  • The script iterates through numbers 1 to 100 and prints:
    • "Fizz" for numbers divisible by 3
    • "Buzz" for numbers divisible by 5
    • "FizzBuzz" for numbers divisible by both 3 and 5
    • The number itself when none of the above conditions are met.

Changed

  • None

Removed

  • None

Caveats / Problems / Issues

  • No known issues. The script runs independently and produces the expected FizzBuzz sequence when executed.

Checklist

  • The issues that this PR fixes/closes have been mentioned above.
  • What this PR adds/changes/removes has been explained.
  • I have adhered to the contributing guidelines, code of conduct, and LLM policy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement FizzBuzz in PHP

1 participant