I'm sure there's a word that means what I want that would give me the answer if I googled it, but I cannot figure out what the word is.
Suppose I've got a while loop running, and every loop it echoes something.
Suppose the end result is that it runs for ten minutes and then outputs one thousand whatevers. Maybe they all worked perfectly. Maybe they're all an error. I need to wait ten minutes to find out which.
What I'd like, is similar to the command line experience, of the loop runs once, then outputs the result. It runs a second time, adds a second result to the list. And so on.
That way, if the first few loops are all throwing errors, I won't have to wait ten minutes to see what the first error was. I'll just watch the first few errors appear, and get to work.
What's the word for that? And is that experience compatible with PHP technology?
And most importantly: Can anyone link to or provide a code snippet with a while loop that can demonstrate PHP incrementally sending lines to the browser?