Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:120650 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 14637 invoked from network); 21 Jun 2023 00:25:05 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 21 Jun 2023 00:25:05 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 099F2180505 for ; Tue, 20 Jun 2023 17:25:05 -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.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,MISSING_HEADERS, 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-qk1-f179.google.com (mail-qk1-f179.google.com [209.85.222.179]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Tue, 20 Jun 2023 17:25:04 -0700 (PDT) Received: by mail-qk1-f179.google.com with SMTP id af79cd13be357-7624e8ceef7so408812385a.2 for ; Tue, 20 Jun 2023 17:25:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687307103; x=1689899103; h=content-transfer-encoding:cc:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=BnFNj/L33Qr9A5GV4bVnCKgJk2cIaQxjPEksXEl3ESk=; b=dQr77squVVjsZis8m7BlC/hqrZL+d2RVh+/fVhSiiuJ3jcGpWReGVzRMdyeqxDSLA8 vtoI3G+DY8DLmJt8rp3HPL3A5zq5oz362nPZTqFUeQXh9kD37T3+U/hNhostcWTj1+Te djFaTlpaAOWXVUHYUwmqOtRAc/J5mFiMSwxr+MNJy0WpKDzElRGDBbWiKfPX4mlNeUtJ bF58p3CU+v6+oZ3Sz5hKr17f5wjHBxL0SYczQZIWVkbtpBaqWfC+MmmFgyJUInXyZwLj rWUL05GZ/ovf/Zshzfelz8TbIDskND9YN2b5CU5ImFqu+jzm2Urv2cRWEUFE20JDVez7 Ki7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687307103; x=1689899103; h=content-transfer-encoding:cc: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=BnFNj/L33Qr9A5GV4bVnCKgJk2cIaQxjPEksXEl3ESk=; b=jbfeUsFqTUGoGFep/afNSE6Pkv0W2mQrTjyVkptUDbuoBMf2p51mv97CLWXlRrW3WN 1OLXxXBVoM85I8No/94A239P85EpqnhKE0KVA5oo6s8cMN7REFDGrBNPaUekrhePauxb KBW8UJSJhCdUayp0tMMxo3Esxs7JS0EHgjGGbzEP20Ga9YvKgyPKWXVSRSCd7DWb4lOn 7+Slmuhfsa9lb9iPg50yRY/CSZY6jSN05Zpli+7pWVK+S64LAF5uA2VVdyDi1qgEh7Mw YFFDUMnfM98nq/t1XtJcsgtuqsM23ajwkbwIUILgsWAo8S8QTeUm0NptAchjfoPORElH DZ6g== X-Gm-Message-State: AC+VfDxgc2SnLNH/hfmdZd6HSRdmyt/7O7ykExblTnjx5H36tlrLC8R5 M3cEBi/g0zKGVWqGZxwy9h2Tt0isAlCmJOyfcrJrXYuX X-Google-Smtp-Source: ACHHUZ7sEmXuwhf0owk69j3IkCTU+OhDCxEDF8ElrXk1nMjE3xFtlD7hYb+gOTZZwrIlqGfHbGQJbAeUeWzrJiflRMc= X-Received: by 2002:a05:6214:ccb:b0:5ef:a772:2731 with SMTP id 11-20020a0562140ccb00b005efa7722731mr6141280qvx.11.1687307103320; Tue, 20 Jun 2023 17:25:03 -0700 (PDT) MIME-Version: 1.0 References: <108411AD-DBC4-4436-8190-7569B7A0805F@gmail.com> In-Reply-To: Date: Wed, 21 Jun 2023 02:24:35 +0200 Message-ID: Cc: internals@lists.php.net Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: Fwd: [PHP-DEV] [RFC] [Discussion] Deprecate functions with overloaded signatures From: weirdan@gmail.com (Bruce Weirdan) On Wed, Jun 21, 2023 at 12:54=E2=80=AFAM M=C3=A1t=C3=A9 Kocsis wrote: > * In order to finally achieve the strategic goal, we deprecate the old > function along with session_set_handler_callbacks() > as soon as the right time comes. That may be PHP 9.x or 10.y or 11.z, > whatever. For those who use callbacks now, how is this in any way better? They will eventually end up using an OOP approach anyway (as that's the strategic goa= l). Migrating from `session_set_handler_callbacks()` would still be (potentiall= y) non-trivial. And what's the point migrating *to* `session_set_handler_callbacks()` if we already know it will be deprecated and removed soon enough? --=20 Best regards, Bruce Weirdan mailto:weirdan@gmai= l.com