Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:120258 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 45462 invoked from network); 13 May 2023 10:08:09 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 13 May 2023 10:08:09 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 348341804D7 for ; Sat, 13 May 2023 03:08:07 -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=-0.2 required=5.0 tests=BAYES_40,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) (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 ; Sat, 13 May 2023 03:08:06 -0700 (PDT) Received: by mail-wr1-f52.google.com with SMTP id ffacd0b85a97d-30771c68a9eso10052963f8f.2 for ; Sat, 13 May 2023 03:08:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683972485; x=1686564485; h=content-transfer-encoding:mime-version:message-id:references :in-reply-to:user-agent:subject:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=/0V6g4WAtk0g8Pd1WjOm+L19BVpPYd63ozpGJYFrDgE=; b=D72I121rAEaBJRz1E+lFUeuDNB6R+eH6jiwmoGNJvCI2i7JUj5twV+tbaQta/BPLW7 Y64mkD0QktFpPJ/yPuQfdA9IIHS6MoFUd4MQ1vUNLp/g8blyAVkdNTNCWrLCi+yvhMdT H9GBhzksc5JI8I7ke7DiUs79Tu0v0GR6EEvNu+I69+6I5p9QT+9HSOqkj6T1dYRGFOIR fQYLPudGsY9vOOd0U9/tmYsxihAZ9/01d7xseq3dIc436Y0C+rvyqnRpWvFVnfhMGw/j u51C3sVWy4VVKyxzDZ9hjPRe3QvgVVnzW2FXcsmJ5ZeMkclGR1UGcjlwzNXTN8XCkoNI jW/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683972485; x=1686564485; h=content-transfer-encoding:mime-version:message-id:references :in-reply-to:user-agent:subject:to:from:date:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=/0V6g4WAtk0g8Pd1WjOm+L19BVpPYd63ozpGJYFrDgE=; b=RlUNFecJyq2q3a31YQPjncFZp6gsFcSbhXWymz+CBPzrK/luzQCsVLyvMXu8af9DEP O3rSi9SXy5J0j1JavQdNXDXJdcgSWBofa0j77Q+3cRD8rTCmJMgeNVi9n3oSZw1tV7oS 48gF5FI5YfF2bZpKMQFfVJE7eG2K9wpbe81D5pZ92mR5m4UcU7yl4tdM1Q8y/sP7Ltyi tW8jE8AhwHGlHQFmlIUXtp15mGwJ8EFp4wpcnfncts/ZDqQgWN606f6G3HXEDm4S6I+Q URj3c8/lDzGkVByFKMJ3/pT0Oe+raH656rLlLn5metox+aEMbaQtncwE5ykihQBhITFP ZLIw== X-Gm-Message-State: AC+VfDyN8FUZOjbeBSrpC59xNykbE75Z5CEpfwMjL8CYCoKH+ptnz0rT ym5ZMRCcsCRzWOrw2AP5npg+AmngSDk= X-Google-Smtp-Source: ACHHUZ6A/nfZgFhv7bk11SzP+GoCioGb6bQgroQ3l+UjWpJa5ShdpHwciOUiSLhFkBn0z0vcYRMdFA== X-Received: by 2002:adf:db50:0:b0:306:2c01:4029 with SMTP id f16-20020adfdb50000000b003062c014029mr19901901wrj.5.1683972485167; Sat, 13 May 2023 03:08:05 -0700 (PDT) Received: from [127.0.0.1] (cpc83311-brig21-2-0-cust191.3-3.cable.virginm.net. [86.20.40.192]) by smtp.gmail.com with ESMTPSA id k15-20020a5d518f000000b003077a19cf75sm25524639wrv.60.2023.05.13.03.08.04 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 13 May 2023 03:08:04 -0700 (PDT) Date: Sat, 13 May 2023 11:08:02 +0100 To: internals@lists.php.net User-Agent: K-9 Mail for Android In-Reply-To: <68c1b984-1bcd-4dfd-8499-65fe392d7783@app.fastmail.com> References: <9ab0173f-a6f2-66f6-3ab3-d5f0c44feb05@bastelstu.be> <9F928894-199E-4C46-A590-136BDDE035F7@gmail.com> <68c1b984-1bcd-4dfd-8499-65fe392d7783@app.fastmail.com> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: =?US-ASCII?Q?Re=3A_=5BPHP-DEV=5D_=5BRFC=5D_=5BDiscussion=5D_Deprec?= =?US-ASCII?Q?ate_functions_with_overloaded_signatures?= From: rowan.collins@gmail.com (Rowan Tommins) On 13 May 2023 00:08:22 BST, Larry Garfield=20 >A better argument, I think: > >The old function exists in 8=2E2, the new one does not=2E >The new one exists in 8=2E3=2E >The old one ceases to exist in 9=2E0=2E > >That means it's impossible to write code that works from 8=2E2 to 9=2E0 w= ithout version checks=2E The overlap period is only 2 releases (8=2E3 and = 8=2E4)=2E That's too short of a window=2E Yes, that line of reasoning I find more persuasive=2E It's why I was worki= ng out earlier which changes could be polyfilled: it effectively extends th= e overlap period if it's trivial to include a definition somewhere wrapped = in function_exists=2E Regards, --=20 Rowan Tommins [IMSoP]