Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:120521 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 82046 invoked from network); 4 Jun 2023 13:15:01 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 4 Jun 2023 13:15:01 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 61283180511 for ; Sun, 4 Jun 2023 06:15:00 -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-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) (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 ; Sun, 4 Jun 2023 06:14:59 -0700 (PDT) Received: by mail-wm1-f45.google.com with SMTP id 5b1f17b1804b1-3f6ffc2b314so35873505e9.0 for ; Sun, 04 Jun 2023 06:14:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685884498; x=1688476498; 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=P7/0YdHjv1vmH29L3zvU832y9DAMlfZp1RwJpc/2HM0=; b=fOr/CkqLPiY/5UxD4MDcKSlP+n235BfydrZQ3NgYcd7EsCgEwBN3HVgecf9O0zBq8D e0zbCr4RGuHspN3C5MaKM9480MPFoUBb2T8LQYn32I7C4rurFnGCwvbgGAzUMN7eNgBG LIS+UVxiVxPGe/OvWcj2JxF7EjtePtOb4EOK35v5wuqaeJ80zeH+yMEdCsOq2lDeX9Ho 6Sxi2MKhPvuTvDQwHrvd01/QTQvFdiuX92envLuO1qtYRYMWeo384Ip4M5ImyMBaBLHY klgU7oc3kbNKVdHJIB91SYpR7Vd0K2M/Nvsd3wwM76H1Jc6OIPOJDnesiivlQi3Wjux1 qFRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685884498; x=1688476498; 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=P7/0YdHjv1vmH29L3zvU832y9DAMlfZp1RwJpc/2HM0=; b=Jw3rdCXG3BO87BWfcmcrv4fhUnTZpdLjw+sTxunj5A+zgl9T1P2ihk/7BzvTwJPoZT mn64SyDz0cSCw2HP3Cf2wvgutTQepqqw0/3Ax3j2BQDk/qWL7bvPxq1zoi8SMYlWQNgI c65iNwJkiFW8lWnZOGXZf/DUG2sCzg7je7RbglS+kuk9OmoUrKzMNNDA4Oj8uXOJYDjX aBvmvA2mqN30SGLKxK9+/tPNDqWQ/nPLc7pmUxXoH8OMCys1FoXynLT5izJHS8rdwIie 6luiGqEkAr0NwbhLbUQhnMxuOazqnYNv9oSfuBxxKr55bFRxPjhvNpZTTCVLHH13rYKx J+xQ== X-Gm-Message-State: AC+VfDyvxW6GvkUI7VNBxko098iOswTdvExwM7R/GEE9QlhcGJcMB/ge HspIovDrtY1c5zwoCqQn4vfjGG86Awk= X-Google-Smtp-Source: ACHHUZ415IOmH1YKP300/FJIQff1p/6nJQqQc8V6cy3T7ZPrTvf+I/nCHNT2mqUKDhUHltTgxST6hQ== X-Received: by 2002:a05:600c:1c9c:b0:3f6:286:95d with SMTP id k28-20020a05600c1c9c00b003f60286095dmr6220669wms.18.1685884498258; Sun, 04 Jun 2023 06:14:58 -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 a7-20020adffb87000000b002ca864b807csm7062847wrr.0.2023.06.04.06.14.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 04 Jun 2023 06:14:57 -0700 (PDT) Date: Sun, 04 Jun 2023 14:14:57 +0100 To: =?ISO-8859-1?Q?M=E1t=E9_Kocsis?= , PHP Internals List User-Agent: K-9 Mail for Android In-Reply-To: References: Message-ID: <108411AD-DBC4-4436-8190-7569B7A0805F@gmail.com> 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 17 May 2023 08:35:18 BST, "M=C3=A1t=C3=A9 Kocsis" wrote: >Particularly, I have been wondering for a long time, why the original >function includes "save_handler" in its name? >The passed in handlers are not just "save", but also other kinds of >handlers (e=2Eg=2E "read")=2E So I'm considering to use >something like "session_set_handlers()" or >"session_set_handler_callbacks()"=2E What do you think about these names? I think that's a very good point, and I like the explicitness of "session_= set_handler_callbacks" - this isn't a name people are going to need to type= often, so there's not much reason to keep it short=2E If we go down that route, perhaps we should come up with a corresponding n= ame for the object based version - "session_set_handler_object" perhaps? Th= at would also mean the deprecation messages can be much simpler: if you're = using the old name, you need to do something=2E (There's another minor fringe benefit: once the old name is removed, it be= comes available for users to polyfill if for some reason they're struggling= to change code that calls it=2E) I'm still in two minds on the general concept of this RFC, as it is placin= g a burden on users for the mostly minor convenience of maintainers; but I = think you've done a good job responding to concerns and improving the propo= sal=2E Regards, Hi M=C3=A1t=C3=A9, Sorry I didn't get round to replying to this sooner, particularly this poi= nt: --=20 Rowan Tommins [IMSoP]