I was just wondering why fread() seems to use so much memory when
reading in a file. My php.ini has a script memory limit of 32MB, yet PHP
hits its memory limit on a 19MB mbox file that I'm reading in. How is it
possible that this function can use 150% of a files' size in memory?!


Thanks,
Ash
http://www.ashleysheridan.co.uk


Reply via email to