Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:121641 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 27230 invoked from network); 10 Nov 2023 12:28:55 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 10 Nov 2023 12:28:55 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 69F4B1804D4 for ; Fri, 10 Nov 2023 04:28:55 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) (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 ; Fri, 10 Nov 2023 04:28:55 -0800 (PST) Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-4079ed65471so14573885e9.1 for ; Fri, 10 Nov 2023 04:28:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=craigfrancis.co.uk; s=default; t=1699619333; x=1700224133; darn=lists.php.net; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=kv5HxjglZBV/SQCwEGZnINXJMjdBYWo4Q0VpEPJQ6fg=; b=Ruvpu2ZoOv1jDTuovsGe/Y2hai8oFwdG0MFOv/8+cbUXhMxxLfGVH8Zakg+FfbbZWc aFuW2ZFBj1oC/d0wRGYqA3/qWNR3R1rDCnzuIfwZRZDAKgoHn+5dHeoxrSqmJ/q3x2sQ NiMZIbYsuunQXgPL8Y4LAWAEqNNVx5M3NC8HY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699619333; x=1700224133; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kv5HxjglZBV/SQCwEGZnINXJMjdBYWo4Q0VpEPJQ6fg=; b=GElN9UmK+e9upxh4glCFWoK4n0b4dehcyleorEHnsodGahxTEcvezv1YnO4K/hplY2 dk9Xuih/0N1H3JWzM7IoJ5+eMRQsukL4yyrxHevEyvP/3VmlhkLJqeE2Ged86h93Csqa 3is4qmFIBBAthh9ifZ1+lAWQnLMHoNtFOscTskRbzW525pd7N3SvGDiBo5OQ2+rit/nF hq5/ccbysYIXzNpuYsRmccyJwSBP+3XvQ2guB1gY8d2eSiIGkkfn0N8nvDIKL9rTSIAZ TK7Kh6sdp1dWdCuQnuHU+37EhdUV5sEjGYrRypbRc1laf5BMWjrpTsJnlwa+2Q/bifTY VIeQ== X-Gm-Message-State: AOJu0YwFd1LJimgIs/NNhfmXt4Xaw7FOPUvBBTD8w7LaLeFV0Xc4qpsn ZKQ/opPUaMUsl+an8IvEAaiZ7w== X-Google-Smtp-Source: AGHT+IFJMAsJ8t3l/6YpUm/pgrD+ZIyKFym8+8DoV6e/js6iIfpswT9c3ff92Wa6KziffI5LqyKQYQ== X-Received: by 2002:a05:6000:552:b0:32d:a853:af6e with SMTP id b18-20020a056000055200b0032da853af6emr5714020wrf.1.1699619333601; Fri, 10 Nov 2023 04:28:53 -0800 (PST) Received: from smtpclient.apple ([92.238.103.248]) by smtp.gmail.com with ESMTPSA id t17-20020a5d42d1000000b0032fbd0c7d04sm1822705wrr.55.2023.11.10.04.28.53 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Nov 2023 04:28:53 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.200.91.1.1\)) In-Reply-To: Date: Fri, 10 Nov 2023 12:28:42 +0000 Cc: Kamil Tekiela , PHP internals Content-Transfer-Encoding: quoted-printable Message-ID: References: <5144806E-E21F-4AF8-B9A2-0161561A6B9E@craigfrancis.co.uk> <1A044D32-019A-4152-A3C0-3F393974AC3B@craigfrancis.co.uk> <88815C70-1100-442A-AFCC-A420862669C3@craigfrancis.co.uk> To: autaut03@gmail.com X-Mailer: Apple Mail (2.3774.200.91.1.1) Subject: Re: [PHP-DEV] Passing null to parameter From: craig@craigfrancis.co.uk (Craig Francis) On 10 Nov 2023, at 11:47, Alex Wells wrote: > It fails to correctly change the type of the variable to nullable due = to the coalescing operator. This is a bug in PHPStan, Cool, and Kamil notes that bleeding edge has fixed this, that's good... = but how many developers do you think are using level 9? it's not picked = up at level 8. Craig