Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:43636 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 3861 invoked from network); 6 Apr 2009 15:05:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Apr 2009 15:05:44 -0000 Authentication-Results: pb1.pair.com header.from=php_lists@realplain.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=php_lists@realplain.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain realplain.com from 209.151.69.1 cause and error) X-PHP-List-Original-Sender: php_lists@realplain.com X-Host-Fingerprint: 209.151.69.1 liberty.vosn.net Linux 2.4/2.6 Received: from [209.151.69.1] ([209.151.69.1:59289] helo=liberty.vosn.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 39/37-02528-64A1AD94 for ; Mon, 06 Apr 2009 11:05:42 -0400 Received: from 75-120-53-110.dyn.centurytel.net ([75.120.53.110]:56262 helo=pc1) by liberty.vosn.net with smtp (Exim 4.69) (envelope-from ) id 1LqqOI-0006JU-Gz; Mon, 06 Apr 2009 09:05:38 -0600 Message-ID: <0729A9B70D864C6E929169523CEBCB11@pc1> To: "php-dev List" , "Lukas Kahwe Smith" , "Pierre Joye" Cc: "Dmitry Stogov" , "Christian Seiler" References: <90FF707C-391F-4FF4-8C5E-2AECEB48EB78@pooteeweet.org> <7C741E86-7720-4C87-8A43-BCC34520F0B5@pooteeweet.org> Date: Mon, 6 Apr 2009 10:05:35 -0500 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - liberty.vosn.net X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - realplain.com Subject: Re: [PHP-DEV] RC2 and integer/float handling in 5.3 From: php_lists@realplain.com ("Matt Wilmas") Hi Lukas, (I see you CC'd Christian, but I don't think he's involved with this...) ----- Original Message ----- From: "Lukas Kahwe Smith" Sent: Saturday, April 04, 2009 > > On 31.03.2009, at 00:32, Lukas Kahwe Smith wrote: > >> >> On 31.03.2009, at 00:27, Pierre Joye wrote: >> >>> On Tue, Mar 31, 2009 at 12:09 AM, Lukas Kahwe Smith >> > wrote: >>>> Hi guys, >>>> >>>> Just wanted to know if those issues are resolved? >>>> I rather not have a flow of changes in this area just before the next >>>> RC2. >>>> As a matter of fact this is the main thing that needs to get done >>>> before >>>> RC2. >>>> Other things are listed here: >>>> http://wiki.php.net/todo/php53#rc2 >>>> >>>> I would not mind being able to release RC Thursday next week. Which >>>> would >>>> mean commit freeze starting Monday next week. So how are things >>>> looking? >>> >>> No chance from my side to get a commit freeze on next Monday. It is >>> way too short sorry. >> >> Ok, then I would appreciate estimates for each item that cannot be >> completed until then. >> As soon as you can give them ... > > > So nobody is able to give me any feedback, so that we can plan RC2? I > must say this is kind of irritating, but so it goes. Sorry if I was irritating (in addition to my noise about this number stuff). :-) When you sent the first message of this thread last week, I was just starting to look at changing the conversion to something I'd be more satisfied with than the patch I sent. So I was waiting to see what to report before replying. Then Thursday I replied to Dmitry with some of those details, instead of replying to you... Then I was going to reply to this last message, asking for feedback, a few hours after you sent it, but didn't get time. Glad I didn't though (not to irritate you more, ha), because yesterday after testing things further with my more "more complete and precise" conversion method, I'm thinking differently after noting behavior patterns -- on Windows and [firsts for me] 32- and 64-bit Linux. (Probably a good thing, because what I had, while only 70-ish lines (with duplication) looked like overkill, with more "magic" than Dmitry commented on with the other version!) So, whether that made any sense to anyone, what does this mean? Well, now I think the best proposal will be to use the same conversion as 5.2 and earlier, with only a small change to address the issue Zoe reported in Bug #42868, which caused the 5.3 change. This would keep/restore the old overflow behavior that *most people have always been getting with PHP* by having conversion behave the same on a platform where 5.2 didn't work the "usual" way -- like the Mac in Zoe's report. It's very simple and would look almost exactly like 5.2's code. :-) Since nobody has tried to define what exactly the behavior should be, after analyzing everything I can gather, I think it's a good, simple solution to keep things consistent, within the limitations I've observed across platforms... Still thinking about one thing, but I'll send an updated patch in a day or two I guess. Oh, other than that about the RC2 subject, I was also going to propose some scanner changes like I mentioned to Brian on the 26th. Assuming it works like in my head, it would basically be a big "diet" for the scanner, making string/comment handling smaller and simpler, while addressing the cause (for strings/comments at least) of Bug #46817 (tokenizer misses last single-line comment) which is wrongly marked Closed and DONE on the wiki. Before RC1, Brian reverted his changes that, I guess, had fixed it. > regards, > Lukas Kahwe Smith > mls@pooteeweet.org - Matt