Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:120311 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 83217 invoked from network); 16 May 2023 12:30:48 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 16 May 2023 12:30:48 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id AC2FD18050B for ; Tue, 16 May 2023 05:30:46 -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,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_NONE,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-ej1-f50.google.com (mail-ej1-f50.google.com [209.85.218.50]) (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 ; Tue, 16 May 2023 05:30:46 -0700 (PDT) Received: by mail-ej1-f50.google.com with SMTP id a640c23a62f3a-965ac4dd11bso2808940166b.2 for ; Tue, 16 May 2023 05:30:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=basereality-com.20221208.gappssmtp.com; s=20221208; t=1684240245; x=1686832245; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=1DkATPRbSI00XpfvlLQ4ngHNPjkj1INJf5PEhWOY13Q=; b=a4Gl24naL+q38bfyfzhmDGBvrA+iUV5k8UAjArDjbbBww2NqwN04a32pMK4NIYW4dR kzfuJfTEBjkBIfAIqwAyr/vFGCZx53uc6xBiC+r3XW1kUZ/8OVvHICj7wWdQ6gxtI1DA PHNOAn4lZESJzBQnWqKXxR/yf5hAqjp/Z+xRUXO3RXvU6hDZEwT1/x8rxwnWS+K6Yif4 hX+8YVJg+dWdw8jJV9sFtwiymmrNBe4ONHSer7TZPMnb57pvDjPidWkVZA/mpnyE2msg srnH4KB7nAAn9UPx6VyqujuvSrmzTBb4sdI6ytzyxH+2bbCU9qQPPPiMy9lekl8OJcgY tUBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684240245; x=1686832245; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=1DkATPRbSI00XpfvlLQ4ngHNPjkj1INJf5PEhWOY13Q=; b=eclAlj+obG+wVfOcnNwFCptUomyB8rjgJZeXF6Vb2QyVsNqJZ9ULjX5klvkEYguEAJ BviVFtRxOxCdyCUlnxeF+7GjI8Se5e3Wo+4h/2+mSIudbfbnX+5WAn8UEqudeQGpRq9T ZJQzatC6dTNSUEf6wZCtHQX+LVLQUGa+VPN8p24rCsmRgda61gaSUnxm7+6C3pMWDqRN Lr8vdsNKdz25hA6Gyw4s26Nv+9bwL+BiPL6Au8OnMNCH0Xnz4f5sZe3Fu9EybBA9DUCf 9UjuV7Adfv9HPTL1WUaEKmUCfxDqRsu8ywCItMdb+bLWy3eVquYyrL2jrhD26csbK8BK 410w== X-Gm-Message-State: AC+VfDzSBtMrqewZY2buvaGkaWffLasB+JhDt9jasr2dUHbO7XSD32Aw dyxqP0aX0NA0xx3y+8jUBd1++kq2eyssmf90dwSHS8vPpG3Utt+NWMy50g== X-Google-Smtp-Source: ACHHUZ5sZnkRuTXoblWLdTle27Et4fWyhRa8dWhVVmuA8NfRLHDg8eYSOLw1ENLp95SZZ1/KFvujTZjWNEr64Xfh9vE= X-Received: by 2002:a17:907:3e13:b0:94e:5679:d950 with SMTP id hp19-20020a1709073e1300b0094e5679d950mr39593627ejc.72.1684240244705; Tue, 16 May 2023 05:30:44 -0700 (PDT) MIME-Version: 1.0 References: <9ab0173f-a6f2-66f6-3ab3-d5f0c44feb05@bastelstu.be> <9F928894-199E-4C46-A590-136BDDE035F7@gmail.com> <68c1b984-1bcd-4dfd-8499-65fe392d7783@app.fastmail.com> In-Reply-To: <68c1b984-1bcd-4dfd-8499-65fe392d7783@app.fastmail.com> Date: Tue, 16 May 2023 13:30:33 +0100 Message-ID: To: Larry Garfield Cc: php internals Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] [RFC] [Discussion] Deprecate functions with overloaded signatures From: Danack@basereality.com (Dan Ackroyd) On Sat, 13 May 2023 at 00:08, Larry Garfield wrote: > > That means it's impossible to write code that works from 8.2 to 9.0 without version checks. The overlap period is only 2 releases (8.3 and 8.4). That's too short of a window. That it is too short, is an opinion. Having one version where both the old version of the function, and the new version work is the minimum (imo) as it allows people to run the same code on both. But anything more than that is a nicety, not a requirement. Also, in my opinion. cheers Dan Ack