I was getting blank PHP output while working on my latest Facebook application today. It was pretty frustrating. PHP won’t even report any errors with error_reporting(E_ALL)! I don’t understand why this is. flush() didn’t help either.

Do you see anything wrong with the following:

for (int $i = 1; $i <= 20; $i++) {

The problem was the “int”. Remove that, and it works:

for ($i = 1; $i <= 20; $i++) {

This entry was posted on Sunday, December 30th, 2007 at 11:12 pm and is filed under Programming. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply