Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:118766 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 29845 invoked from network); 6 Oct 2022 13:00:59 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 6 Oct 2022 13:00:59 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id A24771804C4 for ; Thu, 6 Oct 2022 06:00:58 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com [209.85.208.169]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Thu, 6 Oct 2022 06:00:58 -0700 (PDT) Received: by mail-lj1-f169.google.com with SMTP id s10so2143932ljp.5 for ; Thu, 06 Oct 2022 06:00:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=L8Bs5NAPRG9NtbGhyz6IjoANc/JK6GkrNKGbbZKEp/k=; b=i0Fbhg+aIPe2w4lXSSvpSx8TGGCke8lOzJt/tIFsZP3v+sfTSys6MPejXH5FGpsIxC xlJxaGyMT/d/Io/KzDV56EfzBVC63b3AV86ZLVv7zBbMe0g6yj/iQbed6VNShVgy7iGY DJIlmHySpsQIDTt4T/625eHh4rRA4dXF3HABN5Vu6TPPfPSMC9Rzlo2IpJWhUId4M/Cm DczZQL6m0dwW6f+4vjPCv7R+bI842mJ7ruvm6JhcgjJYeuwPDlMZMB0nyk70M43U1lbu MDsYrjLwgDOxjLOt0ZnPKk//zAR79/om5ssM5pSKNGcnE+SZV/parow4tbKw0x8ubTrg xCGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=L8Bs5NAPRG9NtbGhyz6IjoANc/JK6GkrNKGbbZKEp/k=; b=1A+NBjAlCcU6amJFxnxWH3/cjmIYTSL2Dv1n9YGqpFl6spBG3FuAmMd6YsaGO23291 I3MmiiJ/gFZAqeym3bDX/35k+LMVVqa1l5iw7jgSiPa177FoV3e9F8o1eEe6XT1nsArU +084DE7agCccUnQuMYJ11rnW+AkzzhhATVCfgCwsV6Athjb8h8Zmc2xt/3RIiFq2Se+J 034zQtY4Y4B7a8WlY1HGmh2QhtV0tm536ba+D/X4Yp/INzZbBqtkIz+VNVbuu7o2scGj mdzYgeJYWivRAp+esi/qfcDvOxbA/CSIio1oEQjg287cpAaxvjaoHFOoOWwsm3O4w395 RghQ== X-Gm-Message-State: ACrzQf1dc5AIfSDoChwupnq+LH9t8ehHi+F2AH5tEsC9QJcCuQznMzR7 Br8pOxe+1R5YyvGUE8J+crM= X-Google-Smtp-Source: AMsMyM6xqBHz9Cs60+2iPzrkZvOccxmmbqF97sljVKGSx1hG+NIIlsrKYXZjpl1OLiNhEQVj7nSC0g== X-Received: by 2002:a2e:b88f:0:b0:26c:4697:6914 with SMTP id r15-20020a2eb88f000000b0026c46976914mr1757895ljp.50.1665061254334; Thu, 06 Oct 2022 06:00:54 -0700 (PDT) Received: from smtpclient.apple ([213.109.238.56]) by smtp.gmail.com with ESMTPSA id br32-20020a056512402000b0049f9799d349sm2690557lfb.187.2022.10.06.06.00.53 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Oct 2022 06:00:53 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) In-Reply-To: Date: Thu, 6 Oct 2022 16:00:51 +0300 Cc: David Rodrigues , PHP Internals Content-Transfer-Encoding: quoted-printable Message-ID: <0C7C8276-2641-49E7-BC36-6BD47D70DA78@gmail.com> References: To: "Christoph M. Becker" X-Mailer: Apple Mail (2.3696.120.41.1.1) Subject: Re: [PHP-DEV] Experimental features From: autaut03@gmail.com (Alex Wells) > On 6 Oct 2022, at 15:26, Christoph M. Becker = wrote: >=20 > On 04.10.2022 at 22:42, David Rodrigues wrote: >=20 >> I wanted to suggest the possibility of introducing experimental = features to >> PHP. >>=20 >> This is an old thread I guess, but I think it's good to reevaluate = the >> situation from time to time, as other languages already do this to = some >> extent and PHP doesn't. Some platforms/languages (Node, Kotlin) and >> libraries (React) bring features natively in an experimental way. >>=20 >> I wanted to propose that we bring this idea into PHP, so we wouldn't = have >> to wait for new major/minor versions (eg. 9.0 or 8.2, 8.3) to try out = these >> new features, and so when these versions arrive, they'll already be = quite >> polished, avoiding patches sometime later due to wider usage of = users. >=20 > Do the other platforms introduce experimental features in revisions? = I > doubt that, and I'm pretty sure that is (at least currently) no option > for PHP. We have several months of bi-weekly pre-releases for new > minor/major versions, and are barely able to stabilize new features; = not > only wrt. to the feature itself, but also wrt. unforeseen side = effects. >=20 > The current release cycle[1] still mostly makes sense to me, and that > says for revisions: >=20 > * Bugfixes only (with a room for exceptions on a case by case basis = and > only for small self contained features additions) >=20 > I wouldn't want to sacrifice stability in favor of shipping new = features > every month =E2=80=93 including having more discussions about which = feature may > be introduced in a revision. >=20 > [1] >=20 > -- > Christoph M. Becker >=20 > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: https://www.php.net/unsub.php >=20 Speaking of Kotlin, there are no rules regarding experimental features. = This is because they extensively use their "opt-in" API, which allows = them to mark even a single function/method as experimental. It doesn't = make sense to wait a minor release for a year to introduce a single new = function. Of course, any medium-large size features are kept to minor/major = releases.=