Re: [PHP-DEV] Session Id Collisions

2012-12-23 Thread Yasuo Ohgaki
Hi stats and others, Sorry for the delay. I've finally updated the strict session patch. Following diff is against PHP-5.3, but 5.4 and others will be mostly the same. https://github.com/yohgaki/php-src/commit/42dcd8ef7cd2f9f2071b16586822dadd647c96ef I was promised to create separate patch for

Re: [PHP-DEV] Adding Generator::throw()

2012-12-23 Thread Tjerk Anne Meesters
Hi, On Tue, Dec 18, 2012 at 6:03 AM, Stas Malyshev wrote: > Hi! > > > Basically the method allows you to do delegate error handling to the > > coroutine, rather than doing it yourself (as you are not always able to > do > > it). It is particularly useful in more complicated settings, e.g. if you

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

2012-12-23 Thread Sherif Ramadan
On Sun, Dec 23, 2012 at 11:24 PM, Igor Wiedler wrote: > In that case I was mistaken regarding the new "Z" char. But "a" has been > changed. It is noted in the UPGRADING file. > > You're right. It does break BC, but this was a bug fix. https://bugs.php.net/bug.php?id=61038 The behavior is incorr

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

2012-12-23 Thread Sherif Ramadan
This change does not break BC. The "a" format in pack/unpack functions has not changed at all in 5.5. It still does the same thing and it was not replaced by the new "Z" format option, which I added. They do different things. The "a" format strips null bytes from the string. The new "Z" format i

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

2012-12-23 Thread Igor Wiedler
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 does not. There is a new "Z" format character that c

Re: [PHP-DEV] Adding Generator::throw()

2012-12-23 Thread Nikita Popov
On Fri, Dec 21, 2012 at 11:09 PM, Christopher Jones < christopher.jo...@oracle.com> wrote: > > > On 12/21/2012 06:54 AM, Nikita Popov wrote: > >> If there are no further objections I'll commit this tomorrow. >> >> Nikita >> > > This feature needs documenting in Generator RFC before it is committed