Re: [PHP-DEV] RM decision on BUG #55801 / FR #36424

2011-10-18 Thread Michael Wallner
On Sat, 15 Oct 2011 17:06:19 -0700, Stas Malyshev wrote: Hi! So, what is the status of this? I think we better revert it for 5.4 and look for solution that does not mess up existing code. Hi there! Yes, I received your mails, sorry for being quiet! I cooked up a patch which uses clean

[PHP-DEV] Re: date_diff fixes status

2011-10-18 Thread Derick Rethans
On Sat, 15 Oct 2011, Stas Malyshev wrote: What is the status of fixing date module with regard to TLA timezones handling - this code still fails: Daniel will be publishing an RFC today, after that we have what we want and can have a stab at fixing it. Derick -- http://derickrethans.nl |

[PHP-DEV] php 5.4 next iteration

2011-10-18 Thread Stas Malyshev
Hi! Since we have next release planned on 20th, and since we have at least three unsolved issues for 5.4 yet which we expect resolution soon: - is_a question - serialization changes - date fixes I think the release on 20th should be beta2 and we can start the RC cycle once these are

Re: [PHP-DEV] php 5.4 next iteration

2011-10-18 Thread Nikita Popov
I would also like to have some decision on https://bugs.php.net/bug.php?id=54089 (there already was some discussion about this @ http://www.mail-archive.com/internals@lists.php.net/msg53411.html but no consensus was reached). On Tue, Oct 18, 2011 at 8:03 PM, Stas Malyshev smalys...@sugarcrm.com

Re: [PHP-DEV] php 5.4 next iteration

2011-10-18 Thread Ferenc Kovacs
On Tue, Oct 18, 2011 at 9:36 PM, Pierre Joye pierre@gmail.com wrote: On Tue, Oct 18, 2011 at 8:03 PM, Stas Malyshev smalys...@sugarcrm.com wrote: Hi! Since we have next release planned on 20th, and since we have at least three unsolved issues for 5.4 yet which we expect resolution

Re: [PHP-DEV] Ternary operator performance improvements

2011-10-18 Thread Arnaud Le Blanc
Hi, Le Monday 17 October 2011 15:07:30, Alain Williams a écrit : On Fri, Oct 14, 2011 at 08:08:56PM +0200, Arnaud Le Blanc wrote: Hi, I've already posted this patch and it has since been reviewed and improved. I'm re-posting it for discussion before eventually commiting it. The

Re: [PHP-DEV] php 5.4 next iteration

2011-10-18 Thread Stas Malyshev
Hi! On 10/18/11 12:36 PM, Pierre Joye wrote: where is the question? You seem to be the only one to disagree with the revert and the proposed patch. Rasmus and other agreed on it already, here and the security list. The patch is still not applied. If nobody agrees with me - ok, apply it then.

Re: [PHP-DEV] Ternary operator performance improvements

2011-10-18 Thread Alain Williams
On Tue, Oct 18, 2011 at 10:09:37PM +0200, Arnaud Le Blanc wrote: Hi, Le Monday 17 October 2011 15:07:30, Alain Williams a écrit : On Fri, Oct 14, 2011 at 08:08:56PM +0200, Arnaud Le Blanc wrote: Hi, I've already posted this patch and it has since been reviewed and improved. I'm

[PHP-DEV] [RFC] DateTime and Daylight Saving Time Transitions

2011-10-18 Thread Daniel Convissor
Hello! PHP's DateTime class has unexpected outcomes when dealing with the transitions between Daylight Saving Time and Standard Time. Properly defining, documenting and unit testing DateTime's behaviors is important for PHP's future. This document seeks agreement on what the expected behaviors

Re: [PHP-DEV] Ternary operator performance improvements

2011-10-18 Thread Stas Malyshev
Hi! On 10/18/11 2:43 PM, Alain Williams wrote: It probably does, but it is quite subtle. I was expecting the above to work since it does in C -- although in Cvariable is an address which can be used in an expression ... the PHP '' operator is different, in spite of apparent similarities.

Re: [PHP-DEV] is_a fix for 5.4 and HEAD

2011-10-18 Thread Alan Knowles
Supporting strings 'by default' in is_a() has the downside that it produces slightly unpredictable results. If you are accepting 'mixed' arguments, some of which may be strings, there is a slim chance that the string you accept will match the class or it's parent by accident. Personally if I