Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:76861 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 33767 invoked from network); 25 Aug 2014 10:56:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Aug 2014 10:56:37 -0000 Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 209.85.220.171 as permitted sender) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 209.85.220.171 mail-vc0-f171.google.com Received: from [209.85.220.171] ([209.85.220.171:63801] helo=mail-vc0-f171.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 79/A2-20472-4661BF35 for ; Mon, 25 Aug 2014 06:56:36 -0400 Received: by mail-vc0-f171.google.com with SMTP id hq11so15057109vcb.30 for ; Mon, 25 Aug 2014 03:56:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=+Fu8tscsOGRqW34l985Lludd3R1XzUCCcpYIwSgN9YA=; b=NsXKZ2yMLffToLJZgWujzQzcpYGFdHypmAYTfT0c6TZqJ9yB49/RfeonMh3ZQnFAmn hrzzK2UrlPEFiyx2/eMP2WzPjKeJIM6Wvnz2ZbOmadFd8lTe4a6VgKJXyOilvRs0M65K WWCc/8lIaY0L2J4PZXAPe5BJEvd5mJS30TCCqbweFgmAOC/OdTlIJvGPcSOv8xkF0FnK jQX2UzC94TvPr8gMf1WHulD3ECYID5yb2i3ynNF3/aa9QtvyjI7sCru7CZ3iBNRCTRGQ rbhqICB+pmlKdInIjg6Wp9BhcDq5wMAS7d8+6McqTN3eZJy7YBp76taB6IIl0nRh5YyK VVIA== X-Gm-Message-State: ALoCoQnoTJDtj0QXA3y5pe3GKhjGw9i0/7FbcMxxbGCgjY6JnU8trZFqP1Z6ezpoSrHdXRGuESfxnpqqW8e0zmnZUQkLrDGqGrhEYg/3MQNuanmjoSYglM6IuHot5F9pVwCQGy5foXJz MIME-Version: 1.0 X-Received: by 10.52.26.206 with SMTP id n14mr5134900vdg.0.1408964193484; Mon, 25 Aug 2014 03:56:33 -0700 (PDT) Received: by 10.52.110.170 with HTTP; Mon, 25 Aug 2014 03:56:33 -0700 (PDT) In-Reply-To: References: <437C0D23-0519-4EA1-BBEB-A74C7C70A10E@rouvenwessling.de> Date: Mon, 25 Aug 2014 14:56:33 +0400 Message-ID: To: Pierre Joye Cc: =?UTF-8?Q?Rouven_We=C3=9Fling?= , PHP internals Content-Type: multipart/alternative; boundary=20cf3079bd4e411c4d0501720a00 Subject: Re: [PHP-DEV] Naming issues, solutions From: dmitry@zend.com (Dmitry Stogov) --20cf3079bd4e411c4d0501720a00 Content-Type: text/plain; charset=UTF-8 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. > > 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. > > Who is going to implement the rest? When? Do we need RFC? > > May be it should be a general RFC about internal PHP APIs cleanup? > > I know, there are a lot of other inconsistencies... > > Yes there are other but less wisely spread within extension code. Let > check them later. > > Cheers, > Pierre > --20cf3079bd4e411c4d0501720a00--