Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:85550 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 49196 invoked from network); 30 Mar 2015 11:36:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Mar 2015 11:36:11 -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.174 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.216.174 mail-qc0-f174.google.com Received: from [209.85.216.174] ([209.85.216.174:33557] helo=mail-qc0-f174.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 54/C0-44554-A2539155 for ; Mon, 30 Mar 2015 06:36:10 -0500 Received: by qcbjx9 with SMTP id jx9so67718119qcb.0 for ; Mon, 30 Mar 2015 04:36:08 -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=9fcyzkhcnreKwnGyzhIFj6EWjoeGZzgm8ejpk4ajcNM=; b=Q64TwJ0kDLRU9e6XVFC55BUz1PbSTi/VCeLFijfq1dN0/6Jbxg5V3PcuKEHZnUZzqD OaUWfpHsbVrDrkOJea5yfnNNM5YmsKPkBV4MYyzIQrFhKxc9q7xt0Pf2nfUByLCbaaBC QJTPPmgq5EaYW4sal06TerdnpL05u3q6jm2ATVo+sFdqPztyzD4tfu9YqH01m9Fclv/f R4r/cLgJ4gj8yn+ilMnrOMI5QoyK2MUncnMVyXLVF0UVHfwhnl8V6PeRov3+uQ5+Sj6F HtXukXKT95rnhxQtjikvaEUDbwii0bUngh9LA+mEcNekPZ0gByZ5BGw3qkyHOq5G0ZJf LFNQ== MIME-Version: 1.0 X-Received: by 10.140.35.227 with SMTP id n90mr39438427qgn.17.1427715368235; Mon, 30 Mar 2015 04:36:08 -0700 (PDT) Received: by 10.96.39.195 with HTTP; Mon, 30 Mar 2015 04:36:08 -0700 (PDT) Received: by 10.96.39.195 with HTTP; Mon, 30 Mar 2015 04:36:08 -0700 (PDT) In-Reply-To: <55193060.5000804@php.net> References: <55193060.5000804@php.net> Date: Mon, 30 Mar 2015 18:36:08 +0700 Message-ID: To: Michael Wallner Cc: Julien Pauli , Stanislav Malyshev , Ferenc Kovacs , PHP Internals Content-Type: multipart/alternative; boundary=001a11c006b05d552605127fe350 Subject: Re: [PHP-DEV] What's our official stance on small self-contained additions in a micro version From: pierre.php@gmail.com (Pierre Joye) --001a11c006b05d552605127fe350 Content-Type: text/plain; charset=UTF-8 On Mar 30, 2015 6:15 PM, "Michael Wallner" wrote: > > On 30/03/15 12:04, Ferenc Kovacs wrote: > > Hi, > > > > I know that our official release process allows that, but there are some > > reasonable arguments against doing that and this topic was brought up > > multiple times related to specific fixes. > > I have two open PRs like that: > > https://github.com/php/php-src/pull/1204 > > https://github.com/php/php-src/pull/969 > > and of course there are a bunch of similar ones from other people, and > > there are cases when somebody simply pushes a change like that, other times > > somebody points out that it should require an RFC( > > https://wiki.php.net/rfc/json_preserve_fractional_part for example), but > > most of the times we simply don't know what to do, and eventually we just > > let the PR/patch to rot and die. > > I would like to know if we can come up with a rule which can have consensus > > behind it, and maybe formalize it as an extension to our current > > releaseprocess rfc. > > > > What do you think? > > > > How about: > > It's okay, if it does not need `version_compare(PHP_VERSION)` but can be > tested by e.g. `defined("SOME_CONSTANT")` or `function_exists("fn")`? We have php version constants, major, minor and patch. To me it all looks the same, ugly #ifdef like. Now that we release a x.y+1 every year, I do not see the point to continue to force our users to clutter their codes with such tests. > -- > Regards, > Mike > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > --001a11c006b05d552605127fe350--