From:             [EMAIL PROTECTED]
Operating system: win 98 box
PHP version:      4.0.4pl1
PHP Bug Type:     Performance problem
Bug description:  fread does not look to be working right

fread does not look like it is reading the EOF. when i use a large (HUDGE)
number to tell the fread() how many characters to read, it takes a  l o n g
time for this to complete!!!! this happens even when the file is very
short.

i descoverd this when i was trying to read an entire file into a string. is
fread the best way to do this?? it does not seem to be working very well.

there is also a error reporting problem with fread. after the same number
gets too big, php stops processing the entire page, (it does check
syntax)
there is als no error message when this happens.....

            Knight
-- 
Edit bug report at: http://bugs.php.net/?id=12536&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to