I've got to come up with the task for this have I? There were three I seriously considered, but opted for this one:
Task: A program that writes the lyrics to "Ten Green Bottles" (or "99 Bottles of Beer" or whatever the local cultural equivalent is). A typical verse of "Ten Green Bottles" is
Six green bottles
Hanging on the wall.
Six green bottles
Hanging on the wall.
And if one green bottle
Should accidentally fall
There'll be five green bottles
Hanging on the wall.
(No, I don't know how you hang bottles on walls. Nail them there, I guess.)
Goal: As before (and you will be expected to explain it afterwards). Only PHP is counted when it comes to judging "length", and complexity and obscurity are preferred over mere massivity.
Restrictions: The lyrics, the whole lyrics, and nowt but the lyrics (i.e,. no error messages or stray chracters).
Again, HTML is allowed (including CSS but not Javascript), but databases are not; extensions have to be admitted to in advance, but code that can be run on a core PHP system is easier to check for correctness 🙂. Code should run clean even when error_reporting is set to E_ALL (this is a test of PHP coding ability, after all.)
Yes, I am pedantic; mathematicians often are.
Bonus credit for (a) using proper grammar and punctuation (including capitalisation), (b) using words instead of numerals, (c) Special Circumstances, (d) bribes of at least €10.