Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:122228 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 4831 invoked from network); 22 Jan 2024 21:11:43 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 22 Jan 2024 21:11:43 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1705957946; bh=i8187SYe+SpDmuuyzKfPd1ccgXib5O5EUc2XFuZkDrY=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=Iw+XT7+1G9IMZivx5xuEUNiTce4DmJ6Q6I+KqN7mPvNU2DDkIRLpag/4xLR5WVF2M qHjEY4IRWsUmt02ka4NlrRuzmdEUvzYUiySg02hJUDdwhyWB5brZ2tzuEQBocifGCc QriyCAuLetfwPU88YZerQjcYRf/MsMntf46kgYkb4H6tgTt3Ejjbl9IYjNQMh5eWno d6JFWWueaIS1/zJZIgS+57V6pTHgtb54isTv7ti0B8rfInZrWWV+OhyQUB+8K/qcOX qNTuWOTSnTwOtzvD/1x/Bii4PqbY5y9YeAA7RNYH44Sy3t/LPDkAiEzcsGYuz18hg2 exVdc3VxkRrBA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 041A3180051 for ; Mon, 22 Jan 2024 13:12:26 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-vk1-f173.google.com (mail-vk1-f173.google.com [209.85.221.173]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 22 Jan 2024 13:12:19 -0800 (PST) Received: by mail-vk1-f173.google.com with SMTP id 71dfb90a1353d-4b7480a80ceso2711360e0c.0 for ; Mon, 22 Jan 2024 13:11:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705957895; x=1706562695; darn=lists.php.net; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ZLZQC7PIbBpt6BRw8aFoQxzoLDLUWmOfpLVGjPjVo3E=; b=FGdClT99jS4TwxWNtCxSt4EMkLYl837Bng5f/j8mz8gYTDQbErFuVq77SdWYNZjrdv 62kzH91354AangpTeGtiok2q7PNNT3/haXQ7G/lePdo7BfF1/I3VUsP1BPbokzoGOOXp EmYAOs2pI4VAcz4sAkG8dvZ5NA80ZjUhzbzJRu04+z54+71kKGEv+50kJCqB68CiPvX8 2IT4QHBgwECdLiJwVVhO4FFHWjxcZGj4JwyvdYB9tOIafYJAixiF0dKe3FGuoYNAnCOE h/FowFLzeKNYBi7/e7MF3rRTdj7hCib6/odaqte7z62p2bLac2qbo+KVuKJAHQa0MpO4 PfZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705957895; x=1706562695; 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=ZLZQC7PIbBpt6BRw8aFoQxzoLDLUWmOfpLVGjPjVo3E=; b=ANW6xUIbNPmlK1kUig+RN+CZYg8f6GTK2A4jmB3xCTUkKAd4V0JQFKbWehHZgEt/fR YcCbNB9wdh/yK1Ou5U8qbFsi+TcZOG3ny2j4V2/nXIWEvUE34A7ZAzvzu71w/57H4b2v bKEDGwUgj7+JsxKjvJ/QcwUBPN1uO8Z0vSrHyD09eTR3vteSVFe5RRwweTDgxPWA0TK7 Ex73coLHySE4vmyq5QGXepWghWFaCToHPlG/F7JMdH80lkdgzN7KCpw7S0bwHFNRxCJ1 RR4gA82vDqAaUMBmubOUmfzc2RHkR5e3kesrnIgbPjXo4H0xKdXIc/vH7UBlP/dVv5L9 1Pxw== X-Gm-Message-State: AOJu0YxAL108WMjAuy+xoN0H/pnA/q+JeOCdU184vQ7UgpZX5SWHQuXi 0SfJgJn5qFf/tgkUSeAzqrLafYiRvBpeIXGUDqJB/Z6sLYUPKJtEvL/ntUe5ZdR67774Q3AlCP0 GjU+DFAT811dLXEVHlmWaqMtKjyCDlKsp X-Google-Smtp-Source: AGHT+IEX8MLe34orFlcHL0nsiUSPNG2l14W7iBltp28g5Qp2zQcY0Z4x7cudMYJVF6oKtmIkYCLHKUisUcu/jh9Ifmc= X-Received: by 2002:a05:6122:4687:b0:4b7:43ee:dec8 with SMTP id di7-20020a056122468700b004b743eedec8mr3209686vkb.3.1705957895493; Mon, 22 Jan 2024 13:11:35 -0800 (PST) MIME-Version: 1.0 References: <344c3e06-3822-4b20-9a6f-a58fb64929a7@app.fastmail.com> In-Reply-To: <344c3e06-3822-4b20-9a6f-a58fb64929a7@app.fastmail.com> Date: Mon, 22 Jan 2024 15:11:24 -0600 Message-ID: To: Larry Garfield Cc: php internals Content-Type: multipart/alternative; boundary="0000000000005ce1e7060f8f46d5" Subject: Re: [PHP-DEV] [RFC] Deprecate implicitly nullable parameter type From: mweierophinney@gmail.com ("Matthew Weier O'Phinney") --0000000000005ce1e7060f8f46d5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Jan 22, 2024 at 12:54=E2=80=AFPM Larry Garfield wrote: > I am in support of this change. My only concern is timeline. This RFC > would deprecate it in 8.4, and presumably support would be removed in 9.0= . > While we haven't discussed a timeline for 9.0, historically the pattern i= s > every 5 years, which would put 9.0 after 8.4, which means only one year o= f > deprecation notices for this change. > This is... not true. There is literally no established pattern for when major releases take place, either by length of time, or number of minor releases. PHP 3 had no minor releases. PHP 4 had 4 minor releases before PHP 5 dropped, and then a minor release happened AFTER PHP 5 was already in the wild (4.4). PHP 5 had 7 minor releases, with MULTIPLE YEARS between some of the minor releases before the current process was adopted towards the end of its lifecycle. We are moving TOWARDS a fairly standard process, but there's no definite plans for PHP 9 to follow after 8.4 as of yet, and the process does not require it. > > Given the massive amount of code that built up between 5.1 and 7.1, and > 7.1 and today, I worry that a year won't be enough time for legacy code t= o > clean up and it would be another "OMG you broke everything you evil > Internals !" like the "undefined is now warning" chang= es > in 8.0. (In both cases, well-written code any time from the past decade > has no issue but well-written code is seemingly the minority.) > But I DO agree with the above. So this might be a time for us to start discussing if/when we want a PHP 9 to occur. > > --=20 Matthew Weier O'Phinney mweierophinney@gmail.com https://mwop.net/ he/him --0000000000005ce1e7060f8f46d5--