Re: [PHP-DEV] PHP-5.5 unpack change broke pecl/pear

2012-12-28 Thread Remi Collet
Le 24/12/2012 04:16, Igor Wiedler a écrit : Hi Internals, When test driving PHP-5.5 I ran into issues with a change of unpack behaviour. Archive_Tar which is used by pecl and pear (`pecl install`) uses unpack with the a format character. On 5.4 it strips trailing NUL bytes, on 5.5 it

Re: [PHP-DEV] Bug #23955: Cookie Max-Age attribute

2012-12-28 Thread Andrey Andreev
It is briefly noted in the RFC (mine, not 6265) that negative values and 0 have the same effect. It's practically irrelevant which one is sent. My original commit actually did checks for negative values and sent zeros instead of them, but then somebody on github pointed out that they are

Re: [PHP-DEV] CURL file posting

2012-12-28 Thread Stas Malyshev
Hi! I know this topic was opened a long time ago, but I would like to get it resolved before 5.5 got released. I agree, it looks like a place where we could use improvement, current API is kind of dangerous. A last solution would be to something similar to libcurl curl_formadd (this one