I have a
PHP script that is supposed to do some processing on about 20Kb of data and echo it to the screen.
The loop just stops at the exact same location every time. No error message or anything. It does not continue to execute any code after the function either.
I know that I am not reaching the 30 sec max execution time (it takes <2 seconds), and that I am not trying to echo too much data to the screen (it stops at about 12 Kb).
Here is a sample piece of code that generates the problem (at lease on my computer)...
Code:
for ($i = 0;$i < 10000000; $i ++)
{
echo $i . "-";
}
Every time it ends at the same number: "2127".
I've searched the web, but didn't find anything. It's hard to know what to Google when I'm not quite sure what my problem is.
-Scott