I experienced this strange problem with PHP4...
I moved som old webs to a new Apache-installation with PHP4,and got strange error messages trying to load a page where I'm showing some files and their filesizes.
This is the PHP-line that made the error:
echo number_format(filesize("filer/$a[fil]")/1000,"1",".","");
When I altered the line to this:
echo number_format(filesize("filer/$a[fil]")/1000,"0","","");
... everything worked, but I didn't get the dot and one decimal.
I tried different things to solve the problem, like modifying the filesize-variable with different kinds of decimal seprators, but the error seemed to occur anyhow.
I would be grateful for any hints:-)
Rolfie.