- What inputs are sent to my pages?
- Every check calls each file several times:
num.php with n = 1, 7, 120, 9474 and one random number; str.php with “Never odd or even”, “PHP is fun”, “Malayalam” and three random words; arr.php with 10,2,33,4 · 7,-4,0,15,8 and six random numbers. The random ones change on every recheck, so a page that only prints fixed answers fails. Open Inputs sent on your card to see exactly what your page returned for each one; each input is a link you can open yourself.
- “not written (TODO)”
- That function body is still empty, or the file on the server is an older copy. Re-upload and open the page to confirm.
- “gave X, expected Y”
- Try the same input yourself in the URL, e.g.
num.php?n=9474. Edge cases matter: 1 is not prime, 120 reversed is 21, negative numbers in arrays.
- “correct output, but does not use what the checklist requires”
- The answer is right but the method is not: e.g.
dayName must use switch, isArmstrong must use ** or pow(). See the checklist at the top of the template.
- “uses a function that is NOT allowed here”
- Some functions must be written by hand, e.g. no
strrev() in reverseNumber, no array_sum() in total.
- Page did not load
- Open the link in incognito. InfinityFree file names are case-sensitive, and a new site can take a few minutes to go live.
- My card has not changed after a fix
- Press recheck on your card. Changed a link? Resubmit the Form; the newest entry replaces the old one.