Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:120176 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 41885 invoked from network); 2 May 2023 11:37:56 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 2 May 2023 11:37:56 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 7D67A1804D7 for ; Tue, 2 May 2023 04:37:55 -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_H2,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-f48.google.com (mail-ej1-f48.google.com [209.85.218.48]) (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, 2 May 2023 04:37:54 -0700 (PDT) Received: by mail-ej1-f48.google.com with SMTP id a640c23a62f3a-94f4b911570so613466066b.0 for ; Tue, 02 May 2023 04:37:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=basereality-com.20221208.gappssmtp.com; s=20221208; t=1683027473; x=1685619473; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=YQczuN6LYmIrM7HZVy7k3CR4eIag2tmqyfSMuLRm4PA=; b=a+Fy1HWY8PC6l6ZzmEKanC+IXFJyAS/byQfROSigVXIh7ddSPjhf4N/wXZVWW7Cu2I C3qYD0zIdp9soZ6yDVcxtzsiYGy0PtfJ6JuF0VZ7/vbLGtkgrZnD3O4PaVGwM/KU2bnN 212i+I0TbbkgYN6WQ6DAVczhLRbmjFfR+hS2S0GoD7hCPMHIf0evGb0aA64Wan+eVAiI 2v0hnU87rRYiEf7/pZv+7e7Pu8e+sNXQABPrqjwtufBl/Iy2bOWQBxLMgXNGbvwu7CYx Dg4UyeKTmfP8bEfcQkARp5lx+Ss4nnCuwd7FSOt4Sk6SNIy4ffIUWtJVpF/tv1SXusAh 9gbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683027473; x=1685619473; h=content-transfer-encoding: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=YQczuN6LYmIrM7HZVy7k3CR4eIag2tmqyfSMuLRm4PA=; b=ODuTIyMA108UCDdmS8Nk+/c9ovsEtrHIL/bBQbiaWvevNGwHOi1xL9FdJq3riiLOr0 hgPWSU6MIcOnY591qsYB4JLJKhS4EUl0Pfk4I4WzJIUz278nvHr8KwNsqdivPkB+5D77 gSdQKpEtOttyfqQqMdxHazoxIdwvF45NL94EyqRRteVXaBuHkve8iDHFM+Lza9iS1hX9 y87ObTqBf402rwsgPHvoJAQryv5TO9KsQ7NBACDVCfxgYe28kDsn2ctSzu1N1+LXE/sQ y1528BkIWq6iwEuTaiKcbbvEv/WwRD4JURYY8mKsg1ctYQQPSVZQnbJ7gkvq+ErNTnYc HWLw== X-Gm-Message-State: AC+VfDx/V14ALV74v2wodtJUr17ngrM/auf0ZhZa2kgs2H2IYzYFqPJZ OQjTUiy3R0rYf65dE3U8Z98PWmsgBozjYBDr6gD//g== X-Google-Smtp-Source: ACHHUZ5P9gNv0af8ARwt8Q1WPSwqD7qL90EbqSQUNVopswhLGzE5N2ZMtC4Xa3y3I0BNjhQqTg2pqMsLgpBEMuDAMrA= X-Received: by 2002:a17:907:628f:b0:94a:a41b:558 with SMTP id nd15-20020a170907628f00b0094aa41b0558mr15179251ejc.54.1683027473460; Tue, 02 May 2023 04:37:53 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Tue, 2 May 2023 12:37:42 +0100 Message-ID: To: =?UTF-8?B?TcOhdMOpIEtvY3Npcw==?= Cc: Kamil Tekiela , PHP Internals List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [RFC] [Discussion] Deprecate functions with overloaded signatures From: Danack@basereality.com (Dan Ackroyd) Kamil Tekiela wrote: > > I think one year of deprecation is not enough... It doesn't make > > sense to me to add a replacement but not deprecate the old variant. M=C3=A1t=C3=A9 Kocsis wrote: > Yes, this upgrade path also makes sense to me, and I'm happy to go with > it if others don't disagree! For the functions that are having new separate methods added, not deprecating them immediately makes upgrading easier. When upgrading from one version of PHP to the next, it is best if you can run the same code on both versions, without any deprecation notices going off. Would leaving the current versions in place and working actually cause any maintenance issues? If not, then we could just move really slowly on deprecating them. We could deprecate them at some point in the 9.x release cycle and remove them in 10.0. The RFC says: > Impact analysis: 1 out of the 2000 most popular PHP packages rely on call= ing session_set_save_handler() with 6 or more arguments. I doubt analysing github is going to give a useful measure of the impact of this RFC. Functions like session_set_save_handler are going to be used in custom code written for a company than in shared libraries. cheers Dan Ack