Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:71698 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 47677 invoked from network); 28 Jan 2014 20:33:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Jan 2014 20:33:19 -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.217.175 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.217.175 mail-lb0-f175.google.com Received: from [209.85.217.175] ([209.85.217.175:48290] helo=mail-lb0-f175.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0F/19-01140-C0418E25 for ; Tue, 28 Jan 2014 15:33:17 -0500 Received: by mail-lb0-f175.google.com with SMTP id p9so796425lbv.34 for ; Tue, 28 Jan 2014 12:33:14 -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=/FV1J1oqENLLy69nRCKlOYpU7lK9pgbX0QHFYupQWiY=; b=OsewdVpmRIml0LndPPG9Xj0Ir2OILsPxHKMap723CbvKl3b6U4YLCpjgfVI4ciJgoG huJ0tm5utqdwXaC1/Q+eYpHewFmFmSBBBnzTDviiFrPXr8ltSRMspkf19ERBy9YT3I7C 2IsMeD6lRSMt9tpNgA8gvryey1peF+lDnU1WqWa0K6DozRfDeW+TceBs2Vi7pyv2cpWb v67eIeldttUHw16ZiWEvMfX+hbCNCkuvP4y6Ma/4vbseQlqYduZAY/qfOpm68JJSxFup +Sv7b7DoQCm/1H/9oYS4p5rv1VU9dBLRsxZkJ1AKxPInwDNfYaiCUaUmOP/YXBOo0Sut ZvEw== MIME-Version: 1.0 X-Received: by 10.112.204.104 with SMTP id kx8mr2182283lbc.12.1390941193783; Tue, 28 Jan 2014 12:33:13 -0800 (PST) Received: by 10.112.35.163 with HTTP; Tue, 28 Jan 2014 12:33:13 -0800 (PST) In-Reply-To: References: Date: Tue, 28 Jan 2014 21:33:13 +0100 Message-ID: To: Nikita Popov Cc: Anatol Belski , PHP Developers Mailing List , Matt Ficken , "Stephen A. Zarkos" 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 Tue, Jan 28, 2014 at 9:23 PM, Nikita Popov wrote: > On Mon, Jan 27, 2014 at 9:15 PM, Anatol Belski wrote: > >> https://wiki.php.net/rfc/size_t_and_int64 >> >> There was two big questions regarding the compatibility. Those open >> questions appeared in the discussions are reflected in the reworked RFC. >> >> First question, the possibility to keep the old zend_parse_parameters() >> specs 'l', 'L', 's', 'p' along with new 'i', 'I', 'S', 'P'. Keeping the >> old zpp specs will for sure minimize the porting effort for the PECL >> extensions, but might lead to confusion (like people might think 'l' still >> expects 'long' and not 'php_int_t'). Please use the yes/no Vote 3 to >> decide whether the 'l', 'L', 's', 'p' have to stay supported. >> >> Second question, the macro renames for LONG<>INT, STRLEN<>STRSIZE, etc. >> The reason for such renamings was to ensure source level incompatibility >> on compile time. However this might have a negative effect on the porting >> effort (despite the porting tools). Please use the yes/no Vote 2 to decide >> whether the old macro names have to be kept. >> >> The Vote 1 is the main vote for this patch. The both Votes 2 and 3 are >> merely to decide about the semantical replacements choosen for the patch. >> Should the Votes 2 and 3 result in reverting of that semantical changes, >> the essential patch part about the 64 bit support will not be hurt. >> Reverting to old macro names or zpp specs is only the naming issue. >> >> Removal of the dead SAPIs is isolated in a separate RFC and can be >> considered to another time. >> >> Thanks for the constructive discussions on this RFC, support and testing. >> The vote begins Monday, 27 January 2014, 21:30 CET and ends Monday, 03 >> February 2014, 21:30 CET. >> > > Just to clarify my vote: I voted "No" on the RFC, but only because I think > the major extension source API break is better suited to PHP 6 than PHP > 5.6. I fully support merging this into master, as the first change for PHP > 6. Sad. As the work for pecl extensions is really not as large as you think, fairly straight forward. The vote for php6 is not running now. There is no option for PHP 6 as what can be done in php 6 internally is much larger and would allow more breakage. On the other side, we provide options to minimize the work for the extensions developers in order of magnitude smaller than the changes we introduced in the past for the OO APIs for example. Anyway, sad that you voted no for something as important than true 64bit support. Cheers, -- Pierre @pierrejoye | http://www.libgd.org