Re: [PHP-DEV] signed long hash index for PHP7?

2014-07-30 Thread Lester Caine
On 30/07/14 06:48, Andrea Faulds wrote: That would make sense, but doesn't solve all edge cases as your maximum array index is still more than 2 times the largest positive integer on 32-bit. Are we still looking at a situation where how a program performs is platform specific? An array index of

Re: [PHP-DEV] [VOTE] [RFC] 64 bit platform improvements for string length and integer

2014-07-30 Thread Chris Wright
On 20 July 2014 16:44, Peter Cowburn petercowb...@gmail.com wrote: On 21 May 2014 07:24, Pierre Joye pierre@gmail.com wrote: On Tue, May 20, 2014 at 8:34 PM, David Soria Parra d...@php.net wrote: Sounds very good and 0.8% overhead is fine. Can we work on getting this integrated into a

Re: [PHP-DEV] signed long hash index for PHP7?

2014-07-30 Thread Andrea Faulds
On 30 Jul 2014, at 07:50, Tjerk Meesters tjerk.meest...@gmail.com wrote: That would make sense, but doesn't solve all edge cases as your maximum array index is still more than 2 times the largest positive integer on 32-bit. Is that by design, a bug or something else entirely? Could you

Re: [PHP-DEV] [VOTE][RFC] Name of Next Release of PHP (again)

2014-07-30 Thread Julien Pauli
On Wed, Jul 30, 2014 at 1:43 AM, Andrea Faulds a...@ajf.me wrote: On 23 Jul 2014, at 14:38, Andrea Faulds a...@ajf.me wrote: My sincerest apologies about all the mess earlier and the delay. Both me and Zeev are happy enough with the RFC, so the voting for this RFC has started (again). It

Re: [PHP-DEV] Re: [PHP-CVS] com php-src: Fix bug #67064 = Countable interface inconsistency

2014-07-30 Thread Ferenc Kovacs
On Mon, Jul 28, 2014 at 3:03 PM, Matteo Beccati p...@beccati.com wrote: Hi everyone, On 28/07/2014 09:46, Michael Wallner wrote: https://bugs.php.net/patch-display.php?bug=67064patch=bug67064-BCrevision=1402667581 +1 on Matteo's patch. Rather a single fix than a couple. IIRC, we also

Re: [PHP-DEV] Re: [PHP-CVS] com php-src: Fix bug #67064 = Countable interface inconsistency

2014-07-30 Thread Bob Weinand
Am 28.7.2014 um 15:03 schrieb Matteo Beccati p...@beccati.com: Hi everyone, On 28/07/2014 09:46, Michael Wallner wrote: https://bugs.php.net/patch-display.php?bug=67064patch=bug67064-BCrevision=1402667581 +1 on Matteo's patch. Rather a single fix than a couple. IIRC, we also have to think

Re: [PHP-DEV] PHP namespace?

2014-07-30 Thread Rowan Collins
Yasuo Ohgaki wrote (on 28/07/2014): - Consistent naming - Consistent parameter order - Graceful function/class/interface deprecation (We know what we should do for these, right?) I'm not sure if this was meant sincerely, or slightly tongue-in-cheek, but no, we definitely don't. It comes

Re: [PHP-DEV] PHP 5.6.0RC2 Released for Testing!

2014-07-30 Thread Michael Kliewe
Hi, any news on this, any big problems that delay RC3? Or will it be skipped? Some info would be nice. Thanks! Michael Am 04.07.2014 um 00:52 schrieb Ferenc Kovacs: Hi, The second Release Candidate for 5.6.0 was just released and can be downloaded from: http://qa.php.net/ The

Re: [PHP-DEV] PHP 5.6.0RC2 Released for Testing!

2014-07-30 Thread Ferenc Kovacs
On Wed, Jul 30, 2014 at 3:39 PM, Michael Kliewe i...@phpgangsta.de wrote: Hi, any news on this, any big problems that delay RC3? Or will it be skipped? Some info would be nice. Thanks! Michael Hi, RC3 was just tagged, and expected to be released on thursday. -- Ferenc Kovács @Tyr43l -

Re: [PHP-DEV] Re: [PHP-CVS] com php-src: Fix bug #67064 = Countable interface inconsistency

2014-07-30 Thread Matteo Beccati
Hi Bob, On 30/07/2014 14:33, Bob Weinand wrote: Is this a problem if the interface internally doesn't expect a parameter? You're free to expect the parameter or not, where's the issue? We allow implementations to accept more optional parameters than the interface specifies, but not less.

Re: [PHP-DEV] Re: [PHP-CVS] com php-src: Fix bug #67064 = Countable interface inconsistency

2014-07-30 Thread Ferenc Kovacs
On Wed, Jul 30, 2014 at 3:54 PM, Matteo Beccati p...@beccati.com wrote: Hi Bob, On 30/07/2014 14:33, Bob Weinand wrote: Is this a problem if the interface internally doesn't expect a parameter? You're free to expect the parameter or not, where's the issue? We allow implementations to

Re: [PHP-DEV] Re: [PHP-CVS] com php-src: Fix bug #67064 = Countable interface inconsistency

2014-07-30 Thread Ferenc Kovacs
On Wed, Jul 30, 2014 at 4:48 PM, Ferenc Kovacs tyr...@gmail.com wrote: On Wed, Jul 30, 2014 at 3:54 PM, Matteo Beccati p...@beccati.com wrote: Hi Bob, On 30/07/2014 14:33, Bob Weinand wrote: Is this a problem if the interface internally doesn't expect a parameter? You're free to

Re: [PHP-DEV] [VOTE][RFC] Name of Next Release of PHP (again)

2014-07-30 Thread Philip Sturgeon
Good stuff everyone. Glad the vote went through. On Wed, Jul 30, 2014 at 4:27 AM, Julien Pauli jpa...@php.net wrote: On Wed, Jul 30, 2014 at 1:43 AM, Andrea Faulds a...@ajf.me wrote: On 23 Jul 2014, at 14:38, Andrea Faulds a...@ajf.me wrote: My sincerest apologies about all the mess

Re: [PHP-DEV] Re: [PHP-CVS] com php-src: Fix bug #67064 = Countable interface inconsistency

2014-07-30 Thread Bob Weinand
Am 30.7.2014 um 17:08 schrieb Ferenc Kovacs tyr...@gmail.com: On Wed, Jul 30, 2014 at 4:48 PM, Ferenc Kovacs tyr...@gmail.com wrote: On Wed, Jul 30, 2014 at 3:54 PM, Matteo Beccati p...@beccati.com wrote: Hi Bob, On 30/07/2014 14:33, Bob Weinand wrote: Is this a problem if the interface

Re: [PHP-DEV] [VOTE][RFC] intdiv()

2014-07-30 Thread Adam Harvey
-1 explanation: I don't think %% is clear enough, the only sensible syntax choice (//) is unavailable to us, and I think the utility of having it baked into the language as an operator is pretty minimal regardless (I coded a lot of Python for scientific research in a previous job, and I don't

Re: [PHP-DEV] [VOTE][RFC] intdiv()

2014-07-30 Thread Andrea Faulds
On 30 Jul 2014, at 18:51, Adam Harvey ahar...@php.net wrote: -1 explanation: I don't think %% is clear enough % returns the 2nd part of the integer division, %% returns the 1st. Surely that makes sense? I think the utility of having it baked into the language as an operator is pretty

Re: [PHP-DEV] [VOTE][RFC] intdiv()

2014-07-30 Thread Sara Golemon
On Wed, Jul 30, 2014 at 10:54 AM, Andrea Faulds a...@ajf.me wrote: On 30 Jul 2014, at 18:51, Adam Harvey ahar...@php.net wrote: -1 explanation: I don't think %% is clear enough % returns the 2nd part of the integer division, %% returns the 1st. Surely that makes sense? That makes sense in

Re: [PHP-DEV] [VOTE][RFC] intdiv()

2014-07-30 Thread Andrea Faulds
On 30 Jul 2014, at 18:57, Sara Golemon poll...@php.net wrote: On Wed, Jul 30, 2014 at 10:54 AM, Andrea Faulds a...@ajf.me wrote: On 30 Jul 2014, at 18:51, Adam Harvey ahar...@php.net wrote: -1 explanation: I don't think %% is clear enough % returns the 2nd part of the integer division, %%

Re: [PHP-DEV] [VOTE][RFC] intdiv()

2014-07-30 Thread Peter Lind
On 30 July 2014 19:57, Sara Golemon poll...@php.net wrote: On Wed, Jul 30, 2014 at 10:54 AM, Andrea Faulds a...@ajf.me wrote: On 30 Jul 2014, at 18:51, Adam Harvey ahar...@php.net wrote: -1 explanation: I don't think %% is clear enough % returns the 2nd part of the integer division, %%

Re: [PHP-DEV] [VOTE][RFC] intdiv()

2014-07-30 Thread Kris Craig
On Wed, Jul 30, 2014 at 11:01 AM, Peter Lind peter.e.l...@gmail.com wrote: On 30 July 2014 19:57, Sara Golemon poll...@php.net wrote: On Wed, Jul 30, 2014 at 10:54 AM, Andrea Faulds a...@ajf.me wrote: On 30 Jul 2014, at 18:51, Adam Harvey ahar...@php.net wrote: -1 explanation: I don't

Re: [PHP-DEV] Re: 5.3 final release

2014-07-30 Thread George Wang
Hi Ferenc, is there any reason why seemingly you never read my original mail about those branches beeing off-limit and those commit gonna be reverted? http://news.php.net/php.cvs/79411 That's my fault due to how my email filters was configured. Just a suggestion to make the collaboration

Re: [PHP-DEV] Re: 5.3 final release

2014-07-30 Thread George Wang
Hi, Hi! All right, looks like it is my fault not making the reply sounds critical enough. It pretty much make all third party php-litespeed rpms useless, only causes trouble and confusion for LiteSpeed users. I'm not sure what changed with the last php release - the old code was there for a

[PHP-DEV] VCS Account Request: drew

2014-07-30 Thread Drew Paroski
Contributing to the PHP language specification -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [VOTE][RFC] intdiv()

2014-07-30 Thread Robert Williams
They don’t necessarily need to be symbols. Pascal, for example, uses ‘/' for floating-point division, ‘div' for integer division, ‘mod' for modulus, and ‘rem' for remainder. For example: 20 / 8 = 2.5 20 mod 8 = 4 In PHP, we already have precedence for non-symbol in operators like ‘and', ‘or',