Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:76862 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 35202 invoked from network); 25 Aug 2014 10:59:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Aug 2014 10:59:59 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.44 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.216.44 mail-qa0-f44.google.com Received: from [209.85.216.44] ([209.85.216.44:38744] helo=mail-qa0-f44.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4E/F2-20472-F271BF35 for ; Mon, 25 Aug 2014 06:59:59 -0400 Received: by mail-qa0-f44.google.com with SMTP id f12so12191212qad.31 for ; Mon, 25 Aug 2014 03:59:57 -0700 (PDT) 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=SdqeD4qeHDThrIsElZhnFe8klhZu18sDWUxJrTwVKkE=; b=zRP23uD7nYi3TdhNze/BBN9jvb3a2gLiRi+2W69+sIrWFu8Z3/EMokG8JhqCGLTLLT cKhU9XxWGObJnH8y4FFxPXD1nUn/9+XsrTzT8gVH1Mbu8kSZo7hXmhkh7RlzYZidWdpF lgrw3z7/8AF+Q/fGuy9b1zqiLbm83UV/C15iAASMD+yhxBPKe9smjjZD22yXoDc1f/mU 0T4Iy4eTm0/5ulyuWJWS+2SPMi60gTi60FCUxd2Phmvdm2uJ7tPkfJM9//Tk1gx1hK/p 0as1C2ObM//xnOLq8Jym1urfcQPL3zC2H1EuGu2zbNCqYjHhWXwZUQgAk0Lc83KBiyKw R72A== MIME-Version: 1.0 X-Received: by 10.140.106.225 with SMTP id e88mr31828253qgf.20.1408964397199; Mon, 25 Aug 2014 03:59:57 -0700 (PDT) Received: by 10.140.95.146 with HTTP; Mon, 25 Aug 2014 03:59:57 -0700 (PDT) Received: by 10.140.95.146 with HTTP; Mon, 25 Aug 2014 03:59:57 -0700 (PDT) In-Reply-To: References: <437C0D23-0519-4EA1-BBEB-A74C7C70A10E@rouvenwessling.de> Date: Mon, 25 Aug 2014 12:59:57 +0200 Message-ID: To: Dmitry Stogov Cc: =?UTF-8?Q?Rouven_We=C3=9Fling?= , PHP internals Content-Type: multipart/alternative; boundary=001a113a8626657769050172162e Subject: Re: [PHP-DEV] Naming issues, solutions From: pierre.php@gmail.com (Pierre Joye) --001a113a8626657769050172162e Content-Type: text/plain; charset=UTF-8 On Aug 25, 2014 12:56 PM, "Dmitry Stogov" wrote: > > > > > On Mon, Aug 25, 2014 at 2:45 PM, Pierre Joye wrote: >> >> >> On Aug 25, 2014 9:22 AM, "Dmitry Stogov" wrote: >> > >> > Hi Pierre, >> > >> > I'm glad, you agree to rename IS_INT back to IS_LONG. >> > >> > zend_long and size_t usage looks fine. >> > >> > I see no problems changing zend_string related API and related macros introduced in NG. They are new for everyone. >> > I hope, the changes won't make API less clear or useful (so it would be great to review them). >> > >> > I don't see a big reason to rename "zend_uint" into "uint32_t", but it's just my own opinion. I would prefer keep it as is, or at worse case rename into "zend_uint32" or "uint32". Anyway, I'll agree with majority. >> > >> >> uint32_t :) > > 3 people are not the majority (or may be I missed discussion on IRC). > It's better to think before changing something in many places without a real reason. Why do we need it when the standard type exists and does exactly what we want? Same for size_t. It is mostly contained in the engine, no other impact and avoid yet another type definition for existing standard type (we have php_stdint.h to make them always available). >> > How are we going to proceed? >> > Do you like voting in https://wiki.php.net/rfc/better_type_names_for_int64 or you may just revert part of the int64 patch related to IS_LONG -> IS_INT renaming? >> >> We will just do the changes listed in the initial mail. The sooner the better. Anatol or I will do it. It should be ready by Wednesday. If we can avoid a 2-3 weeks delay let not do the rfc. As these changes match what was discussed and fit with the majority (subjective part as only the vocal ones), we should not see any objection. We will simply apply it on Wednesday if nobody complained. > > Agree, we need it ASAP. > I'll try not to commit anything big to not make you additional troubles. > > Thanks. Dmitry. Thanks Cheers, Pierre --001a113a8626657769050172162e--