Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:76860 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 32078 invoked from network); 25 Aug 2014 10:45:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Aug 2014 10:45:07 -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.216.49 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.216.49 mail-qa0-f49.google.com Received: from [209.85.216.49] ([209.85.216.49:46080] helo=mail-qa0-f49.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C1/52-20472-1B31BF35 for ; Mon, 25 Aug 2014 06:45:05 -0400 Received: by mail-qa0-f49.google.com with SMTP id dc16so12095751qab.22 for ; Mon, 25 Aug 2014 03:45:02 -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=ERQtY1bqtEs8EpK7EnsuSRMluHohgJ0qSemeaD/A60o=; b=Fuci3DkvGML9PcwCtLaAHaDZOas8WT0RG3ReY+RVGXOVLaEjylaVjNW9w7+Qj9Y5KE fYw0pj1s5CPYSlNJlukpx+bOeT0mmM9pu2PeMqEQnwvH9NyfEZEAwaE4Y3bPEp6wEMSt BugqKDdfMRnSARoYidV2x9IV4+ZKp9jPrpGdElQWTfcE5dzIfpit1/zmUZ0SBQQgwUSO 35GsnRu5p3fEmy/9kUC0L9eDy5I2ZFa88M614H9ol67SCw2LrgjEEZLZ/Rnvoots4pQV rsJ7BoB31UwkC2ub8TDvpzEhmCYaOvbTV3wxsEpPRxo1epaQdjjerxzEoB0Y/QHSgFJ6 PfrQ== MIME-Version: 1.0 X-Received: by 10.224.47.130 with SMTP id n2mr17200425qaf.87.1408963502287; Mon, 25 Aug 2014 03:45:02 -0700 (PDT) Received: by 10.140.95.146 with HTTP; Mon, 25 Aug 2014 03:45:02 -0700 (PDT) Received: by 10.140.95.146 with HTTP; Mon, 25 Aug 2014 03:45:02 -0700 (PDT) In-Reply-To: References: <437C0D23-0519-4EA1-BBEB-A74C7C70A10E@rouvenwessling.de> Date: Mon, 25 Aug 2014 12:45:02 +0200 Message-ID: To: Dmitry Stogov Cc: =?UTF-8?Q?Rouven_We=C3=9Fling?= , PHP internals Content-Type: multipart/alternative; boundary=001a1134b0040e90ae050171e160 Subject: Re: [PHP-DEV] Naming issues, solutions From: pierre.php@gmail.com (Pierre Joye) --001a1134b0040e90ae050171e160 Content-Type: text/plain; charset=UTF-8 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 :) > 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. > 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 --001a1134b0040e90ae050171e160--