Re: [RFC][VOTE] Change default PDO error mode
| From: | Christian Schneider | Date: | Tue, 14 Apr 2020 06:52:38 +0000 |
| Subject: | Re: [RFC][VOTE] Change default PDO error mode | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-109616@lists.php.net to get a copy of this message | ||
Am 14.04.2020 um 03:10 schrieb Derick Rethans <derick@php.net>:
> On Mon, 13 Apr 2020, Christian Schneider wrote:
>
>> Am 13.04.2020 um 14:41 schrieb AllenJB <php.lists@allenjb.me.uk>:
>>> As no concerns were raised during the discussion period, the RFC is unchanged from that
>>> originally posted.
>>>
>>> Previous discussion threads:
>>> * https://externals.io/message/109015
>>
>> For the record: I did raise concerns in
>> https://externals.io/message/109015#109144
>
> You did, but you never followed up on his questions:
> https://externals.io/message/109015#109178
I tried to keep the mail traffic down and I didn't think my concern would be discarded because
of this.
But to answer the question
> Is this not just as disruptive to existing code as changing the default
> error handling to warnings?
First of all the RFC talks of changing the default error handling to *exceptions*, not warnings.
So yes, I think it should be changed to warnings first.
And for that: No, it is not as disrupting as it will write additional error messages to a log file
vs. stopping the program execution.
- Chris