Re: [PHP-DEV] new bug in 5.1.0b3 with length param in fread() with local files

2005-07-26 Thread Wez Furlong
>From the description, it doesn't sound like a bug. Awaiting more details. --Wez. On 7/25/05, Andi Gutmans <[EMAIL PROTECTED]> wrote: > Has anyone had a chance to look at this problem? > > At 10:08 PM 7/21/2005 -0600, Greg Beaver wrote: > >Hi, > > > >I have noticed that fread()'s behavior has ch

Re: [PHP-DEV] new bug in 5.1.0b3 with length param in fread() with local files

2005-07-25 Thread Andi Gutmans
Has anyone had a chance to look at this problem? At 10:08 PM 7/21/2005 -0600, Greg Beaver wrote: Hi, I have noticed that fread()'s behavior has changed between PHP 5.0.4 and PHP 5.1.0b3. Basically, http://pear.chiaraquartet.net/go-pear.phar works in PHP 5.0.4 and fails in 5.1.0b3 because of

Re: [PHP-DEV] new bug in 5.1.0b3 with length param in fread() with local files

2005-07-22 Thread Greg Beaver
Wez Furlong wrote: If you've spotted a behaviour change, open a new bug with a short self-contained reproducing script. I suspect some kind of engine bug here, because what you've described doesn't make sense :) That warning about the length comes from this code in the fread function: len

Re: [PHP-DEV] new bug in 5.1.0b3 with length param in fread() with local files

2005-07-22 Thread Wez Furlong
If you've spotted a behaviour change, open a new bug with a short self-contained reproducing script. I suspect some kind of engine bug here, because what you've described doesn't make sense :) That warning about the length comes from this code in the fread function: len = Z_LVAL_PP(arg2);

[PHP-DEV] new bug in 5.1.0b3 with length param in fread() with local files

2005-07-21 Thread Greg Beaver
Hi, I have noticed that fread()'s behavior has changed between PHP 5.0.4 and PHP 5.1.0b3. Basically, http://pear.chiaraquartet.net/go-pear.phar works in PHP 5.0.4 and fails in 5.1.0b3 because of this change. The line in question of the .phar from PHP_Archive is: fread($this->_file,