FooBar coding test.
It meets the following requirements:
Output the numbers from 1 to 100
- Where the number is divisible by three (3) output the word “foo”
- Where the number is divisible by five (5) output the word “bar”
- Where the number is divisible by three (3) and (5) output the word “foobar”
- Only be a single PHP file
This script requires PHP only.