Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:107602 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 52681 invoked from network); 21 Oct 2019 17:31:53 -0000 Received: from unknown (HELO php-smtp3.php.net) (208.43.231.12) by pb1.pair.com with SMTP; 21 Oct 2019 17:31:53 -0000 Received: from php-smtp3.php.net (localhost [127.0.0.1]) by php-smtp3.php.net (Postfix) with ESMTP id 5CB362D1FD0 for ; Mon, 21 Oct 2019 08:17:33 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp3.php.net X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS3265 194.109.0.0/16 X-Spam-Virus: No Received: from lb2-smtp-cloud9.xs4all.net (lb2-smtp-cloud9.xs4all.net [194.109.24.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp3.php.net (Postfix) with ESMTPS for ; Mon, 21 Oct 2019 08:17:32 -0700 (PDT) Received: from [192.168.21.220] ([188.201.8.170]) by smtp-cloud9.xs4all.net with ESMTPA id MZR4ieVcCbEWCMZR5ihSr0; Mon, 21 Oct 2019 17:17:31 +0200 To: David Negrier , internals@lists.php.net References: Message-ID: <5749da37-2c50-b32f-47a3-c2ff4e3aab65@xs4all.nl> Date: Mon, 21 Oct 2019 17:17:29 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfO1fbYmx5S6upKg7NlOBBVcG+3tn70bZeYtt+8r9opUbjjMIvK0fxpbocX6yF4cEZsWMdbnHRgq98Amclb4MELDrYORZE+IhRkcTWfCLDEkqcF9FRYYo 6A7kDEPNomP1Fx5K98NzOiELB2G7YWBjFHQ6xutpNvcT9gl8JxBpZI6rviUPHfpnn4IRH6DXUgNhYhbd70L/+hjbD5tQnI4Pu+yYhbsI5V0aRV1BVU44JxCd X-Envelope-From: Subject: Re: [PHP-DEV] Reclassifying some PHP functions warning as exceptions From: d.takken@xs4all.nl (Dik Takken) On 21-10-19 11:10, David Negrier wrote: > I'm considering writing an RFC (and a patch) to turn some warning into > exceptions in a number of PHP functions. > I would first like to gather some feedback here. I think this is definitely worth a shot. My suggestion would be to split the effort in sets of functions based on the amount of BC break that would be involved. Functions that would require a minor BC break that is unlikely to affect a lot of code could be bundled in one RFC. The list of functions could then be discussed and finally voted on. Another RFC could address functions that are expected to cause bigger BC issues which could be fixed using an automatic fixer. Yet another RFC for functions that would require manual fixing of BC issues. Some of these functions might require an RFC of their own. A step at a time. Regards, Dik Takken