Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:71922 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 28820 invoked from network); 1 Feb 2014 12:44:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Feb 2014 12:44:01 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.170 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.217.170 mail-lb0-f170.google.com Received: from [209.85.217.170] ([209.85.217.170:36972] helo=mail-lb0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 73/62-14044-F0CECE25 for ; Sat, 01 Feb 2014 07:44:00 -0500 Received: by mail-lb0-f170.google.com with SMTP id u14so4264461lbd.29 for ; Sat, 01 Feb 2014 04:43:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=g6nsnBinEJO9HRrjYYn8q98/uqlGbohaZEoc0Z6lk6s=; b=ve9RQX/B0zmR9jJsFjeUqtvCrHpd28sQ+BicV3AoshEz/jSRBKvJtdv/lQRaUwD1iz msDxCyaUWpcx9WBDs83naRWBD5u9JkZqzUKLy5Vako89rTGU3HdIRVnbONf4ckBPBRQ3 EhLWfhvbN7vBo/0UEKXnTV7kpfZ+rmUL94K2U0kAvTkaSnZoCm85AhKfrCT6mNYk4Br6 kaCBxBrFYKwJSMJuWdpQgdMKN0elBIcnRq0pK7uOPT7ar5K0rZXiz16YjG9zOmPuz5/k MHLH2E+lHTn94CCOq0UaLGvhEKkiEenD1f3mJnBGn1ULUn0ZBvR/66gYiboUq0WZIUrS wjEw== MIME-Version: 1.0 X-Received: by 10.112.181.130 with SMTP id dw2mr8756lbc.70.1391258636798; Sat, 01 Feb 2014 04:43:56 -0800 (PST) Received: by 10.112.35.163 with HTTP; Sat, 1 Feb 2014 04:43:56 -0800 (PST) In-Reply-To: References: <1391171792.2941.130.camel@guybrush> <52EB9A16.5060605@phpdoc.de> <1391172906.2941.140.camel@guybrush> <9810c708a9fcc543a263365b5d7c2a63@mail.gmail.com> Date: Sat, 1 Feb 2014 13:43:56 +0100 Message-ID: To: Jakub Zelenka Cc: Zeev Suraski , PHP internals list Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [VOTE] 64 bit platform improvements for string length and integer From: pierre.php@gmail.com (Pierre Joye) On Sat, Feb 1, 2014 at 1:04 PM, Jakub Zelenka wrote: > I think that this vote also makes sense for maintainers of PECL extensions > as they will need to do lots of work. > > I am aware what the patch does and how much work I will need to do in my > extensions. I actually did the openssl part of the 64bit patch just to see > what changes will be required for my crypto ext which also is an openssl > wrapper. And yes it will require lots of changes. Probably the most time > consuming part of the porting (that wasn't mentioned here) is looking to > the different versions of the libs and testing how it affects the > extension. There are sometimes types changes between different versions of > libs which can result in nasty bugs. For example the size_t change could > even result to some security issues if it's not handled properly. > > The reason why I voted YES is that I don't see any difference if the patch > is merged now or in the future. The work will need to be done anyway. It > will just require more time that will need to be spent on maintaining the > 64bit branch if the patch is merged later. Also see Anatol latest post to internals, the sample extension shows the difference between a 5.3/4/5 code and one supporting 5.3/4/5 and with the int64 patch with the option #2 and #3. The changes are really straightforward and far less intrusive than without these options. -- Pierre @pierrejoye | http://www.libgd.org