Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:116766 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 35351 invoked from network); 2 Jan 2022 16:48:52 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 2 Jan 2022 16:48:52 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 30BED180089 for ; Sun, 2 Jan 2022 09:55:38 -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=-0.2 required=5.0 tests=BAYES_40,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HTML_MESSAGE,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS 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-lj1-f171.google.com (mail-lj1-f171.google.com [209.85.208.171]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Sun, 2 Jan 2022 09:55:37 -0800 (PST) Received: by mail-lj1-f171.google.com with SMTP id by39so52751097ljb.2 for ; Sun, 02 Jan 2022 09:55:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=craigfrancis.co.uk; s=default; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=rxOKCJFRy8arajT5zRqMxXwFXQRYNKDNlbNqydGuskg=; b=TBJ8f5CYs5nirYONf0xwjqFqgGqc+qgvl6Hh8OzuGplZ/dDJG0mT2hc9MU/f3j59iY rPBamhPNK+ZRAzs/rX7dXV5xKUPpoaPubqzSmK5q+vzhX0T0ZHIrZQ2WuecQyZCHEhW3 VRHwTCCwusTnPEkmie22wdZao9ODNK5o3ff6M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=rxOKCJFRy8arajT5zRqMxXwFXQRYNKDNlbNqydGuskg=; b=MP5EEAvLqHdC3jNvM84vR6UvlB8GQYXtmfZHG4AHs2pvd1WkPnkldBDmAlgdgiiUn1 U5Mop6Cpi3p/NKSznJIP3681nIJjbLC/3hzdfEzC2DIvrF4+VCoKFpZoEHex9/FgGsP1 9K9JLK7cBm7zPdLdDSLrWBxhVL9kMZwllpB/wHe47/SpzKROkT1+cCxRR1sV2c3SbSsa Qba/vSssZscfrubjHTHPiC82Jg2aFN9GruIaeixmPRMslLCM086DofEIUnDIoIXPbZjo npU/Gh11b0t6kUM4M5M2BEIAFWMMbr/NDQ2/APjRje8xWNGGOgu7w/iG8xpRy8nJRyNn wFuA== X-Gm-Message-State: AOAM5335mz8MHOo0HxjxCv7tGs+Zg0juLxLEcJSR5VFO/g7c2zg/tt78 Q1jrsJ7qbiOQWVq5BnzoJAOn0XsSXqzKOCLpCX7NeQ== X-Google-Smtp-Source: ABdhPJz77eKl9rv/E/qwap56Vk0Z4FBxoWQUcp8fsVPKonAJ3IlJOzY5THj/8M06msOimHHzurEqJzDsojHru3RHGCE= X-Received: by 2002:a2e:1f09:: with SMTP id f9mr29634938ljf.3.1641146136299; Sun, 02 Jan 2022 09:55:36 -0800 (PST) MIME-Version: 1.0 References: <64e5155a-2ee8-5ae0-5ee4-248712741911@gmx.net> In-Reply-To: <64e5155a-2ee8-5ae0-5ee4-248712741911@gmx.net> Date: Sun, 2 Jan 2022 17:55:25 +0000 Message-ID: To: Andreas Leathley Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary="0000000000007aa1d405d49d1cf7" Subject: Re: [PHP-DEV] Allowing NULL for some internal functions From: craig@craigfrancis.co.uk (Craig Francis) --0000000000007aa1d405d49d1cf7 Content-Type: text/plain; charset="UTF-8" On Sun, 2 Jan 2022 at 14:22, Andreas Leathley wrote: > I don't think the current deprecation notices are a real hindrance in > upgrading to a newer PHP version. Nice, but I suspect your code doesen't exactly represents most code :-) And while these may be "small adaptions", I work with some people where the quantity is, impressive... and tbh I can't actually explain what the point for this change is. As an aside, it is making it even harder for me to get them to use static analysis, as they keep saying this stuff is elitist bull... I'll leave it there :-) I did have some occurances of this deprecation notice in my applications > when upgrading to 8.1, and each time it was clearly a bug or oversight. > Removing the deprecation notices would also remove those insights into > possibly unreliable code. > Would you mind sharing some of them, as I've not seen anything like that myself (that's genuine interest). Craig --0000000000007aa1d405d49d1cf7--