Re: [PHP-DEV] Bug 48417 and PHP 5.4

2012-01-08 Thread Pierre Joye
hi, I closed one bug (unrelated to what you have) and added a comment to the /ignore issue. I do not see a bug in PHP but if you have any info that shows that PHP causes this problem, then please add them to the bug so we can fix it, if not I will bogus it as there is no bug in php but in iconv (g

Re: [PHP-DEV] Code freeze for 5.4

2012-01-08 Thread Pierre Joye
hi David, Stas, As far as I know, the only BC so far is the request time float addition to restore the previous behavior. I will do it this afternoon if nobody catches up with it before :) Cheers, On Sat, Jan 7, 2012 at 11:40 PM, Stas Malyshev wrote: > Hi! > > As we are nearing the release of 5

Re: [PHP-DEV] Code freeze for 5.4

2012-01-08 Thread Sebastian Bergmann
Am 08.01.2012 13:37, schrieb Pierre Joye: > As far as I know, the only BC so far is the request time float > addition to restore the previous behavior. I will do it this afternoon > if nobody catches up with it before :) That was already restored (in r321828). -- Sebastian Bergmann

Re: [PHP-DEV] Code freeze for 5.4

2012-01-08 Thread Pierre Joye
ah right, thanks Patrick :) On Sun, Jan 8, 2012 at 1:41 PM, Sebastian Bergmann wrote: > Am 08.01.2012 13:37, schrieb Pierre Joye: >> As far as I know, the only BC so far is the request time float >> addition to restore the previous behavior. I will do it this afternoon >> if nobody catches up wit

[PHP-DEV] Fwd: SplDoublyLinkedList

2012-01-08 Thread Paul Dragoonis
Hey Internals, I'm trying to add a new method to SplDoublyLinkedList named "clear" I've successfully compiled please see the output: $dll = new \SplDoublyLinkedList(); var_dump(get_class_methods($dll)); array(23) {  [0]=>  string(5) "clear" So my clear method is there, but as soon as i try to

Re: [PHP-DEV] Fwd: SplDoublyLinkedList

2012-01-08 Thread Etienne Kneuss
Hi Paul, On Sun, Jan 8, 2012 at 16:32, Paul Dragoonis wrote: > Hey Internals, > > I'm trying to add a new method to SplDoublyLinkedList named "clear" > > I've successfully compiled please see the output: > > $dll = new \SplDoublyLinkedList(); > var_dump(get_class_methods($dll)); > array(23) { >  

Re: [PHP-DEV] Bug 48417 and PHP 5.4

2012-01-08 Thread Edward Z. Yang
Hello Pierre, The whole situation is a slightly complicated. One question to ask is: "Is there code in PHP 5.3 that worked, which now no longer works in PHP 5.4?" The answer to this question is *yes*, as seen by this example: var_dump(iconv("UTF-8", "ISO-8859-1//IGNORE", "\xE4\xB8\xAD")); N

Re: [PHP-DEV] Fwd: SplDoublyLinkedList

2012-01-08 Thread Paul Dragoonis
Here's the patch. At the moment my clear() method clones the functionality of count() just as a prototype to get things working before i make it do the actual clear functionality. Patch attached to this email, made using 'svn diff' - Paul Dragoonis. On Sun, Jan 8, 2012 at 4:38 PM, Etienne Kneuss

Re: [PHP-DEV] Fwd: SplDoublyLinkedList

2012-01-08 Thread Etienne Kneuss
It works fine here on trunk, what code-base are you targetting? Best, On Sun, Jan 8, 2012 at 18:31, Paul Dragoonis wrote: > Here's the patch. At the moment my clear() method clones the > functionality of count() just as a prototype to get things working > before i make it do the actual clear fun

Re: [PHP-DEV] Fwd: SplDoublyLinkedList

2012-01-08 Thread Paul Dragoonis
PHP 5_4 branch. Here's the diff as a gist: https://gist.github.com/e3e1da28123017ba568d On Sun, Jan 8, 2012 at 5:43 PM, Etienne Kneuss wrote: > It works fine here on trunk, what code-base are you targetting? > > Best, > > On Sun, Jan 8, 2012 at 18:31, Paul Dragoonis wrote: >> Here's the patch.

[PHP-DEV] [RFC] Platform and extension-independent API to the system CSPRNG

2012-01-08 Thread Tom Worster
Hi, I added the new RFC https://wiki.php.net/rfc/csrandombytes which is in its first draft. I attempted to be fair with respect to the discussion that has already taken place here. How does this get listed on the https://wiki.php.net/rfc page? Tom -- PHP Internals - PHP Runtime Development

Re: [PHP-DEV] [RFC] Platform and extension-independent API to the system CSPRNG

2012-01-08 Thread Ferenc Kovacs
On Mon, Jan 9, 2012 at 1:42 AM, Tom Worster wrote: > Hi, > > I added the new RFC https://wiki.php.net/rfc/csrandombytes which is in its > first draft. > > > I attempted to be fair with respect to the discussion that has already > taken place here. > > How does this get listed on the https://wiki.

Re: [PHP-DEV] [RFC] Platform and extension-independent API to the system CSPRNG

2012-01-08 Thread Tom Worster
I have also set up a github repo with 4 files in it. It is a first hack of a function that does part of what I described in the RFC. It's based on the interface of openssl_random_pseudo_bytes() and the guts of mcrypt_create_iv(). It is provisionally named cs_random_bytes(). For now it builds and w

[PHP-DEV] GitHub URL for [PHP-DEV] [RFC] Platform and extension-independent API to the system CSPRNG

2012-01-08 Thread Tom Worster
I forgot the URL: https://github.com/tom--/php-cs_random_bytesemo :X tom On 1/8/12 8:56 PM, "Tom Worster" wrote: >I have also set up a github repo with 4 files in it. It is a first hack >of >a function that does part of what I described in the RFC. It's based on >the interface of openssl_rand

Re: [PHP-DEV] Fwd: SplDoublyLinkedList

2012-01-08 Thread Paul Dragoonis
Hey Internals, I've finished the patch, and with approval i'd like to push to trunk, even though i'm aware we have a 5_4 branch code freeze. Can someone review my work and provide feedback/approval? [1] https://gist.github.com/1580974 Thanks, Paul Dragoonis. On Sun, Jan 8, 2012 at 6:18 PM, Pau