Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:112182 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 63571 invoked from network); 4 Nov 2020 20:11:57 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 4 Nov 2020 20:11:57 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 802C51804D1 for ; Wed, 4 Nov 2020 11:32: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=-1.9 required=5.0 tests=BAYES_00,SPF_NONE, T_SPF_HELO_TEMPERROR autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from darkcity.gna.ch (darkcity.gna.ch [195.49.47.11]) (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 ; Wed, 4 Nov 2020 11:32:37 -0800 (PST) Received: from flatter-1.home (unknown [IPv6:2a02:1205:34fb:29c0:9ce0:6db:f38:b0fe]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by darkcity.gna.ch (Postfix) with ESMTPSA id 5CE5C6C0C40; Wed, 4 Nov 2020 20:32:34 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) In-Reply-To: Date: Wed, 4 Nov 2020 20:32:34 +0100 Cc: PHP Internals List Content-Transfer-Encoding: quoted-printable Message-ID: <3BFB4833-2419-420B-9A34-F2DB36BF6FD3@cschneid.com> References: To: Eugene Sidelnyk X-Mailer: Apple Mail (2.3608.120.23.2.4) Subject: Re: [PHP-DEV] Nullsafe From: cschneid@cschneid.com (Christian Schneider) Am 04.11.2020 um 19:39 schrieb Eugene Sidelnyk : > Thus, can you provide any other dangerous example? I think at this point you could have realised that it is a) a BC break (code which has thrown an exception before now wouldn't) b) not finding any love among the community here. Possibly for a reason? If you really want you could put an RFC together but I'm pretty sure = that it wouldn't be accepted. And now for your dangerous example: try { $foo =3D null; $foo->bar(); deletel_all_files_on_machine(); } catch (Error $dummy) {} Regards, - Chris