On 19/03/2020 12:25, Christian Schneider wrote:
Am 19.03.2020 um 10:31 schrieb Matteo Beccati :
I agree defaulting to PDO::ERRMODE_EXCEPTION is a sensible change for PHP8.
I think this should go through a deprecation phase first as it is a BC break,
no matter how easy to fix you think it is.
On 19.03.2020 at 13:25, Christian Schneider wrote:
> Am 19.03.2020 um 10:31 schrieb Matteo Beccati :
>
>> On 14/03/2020 22:10, Larry Garfield wrote:
>>
What do you think the new default be (and why)?
(I am aware this change will likely require an RFC)
AllenJB
>>>
>>> I see
Am 19.03.2020 um 10:31 schrieb Matteo Beccati :
> On 14/03/2020 22:10, Larry Garfield wrote:
>>> What do you think the new default be (and why)?
>>>
>>> (I am aware this change will likely require an RFC)
>>>
>>> AllenJB
>>
>> I see only two options:
>>
>> 1) Do nothing.
>>
>> 2) Move to Excep
Hi,
On 14/03/2020 22:10, Larry Garfield wrote:
>> What do you think the new default be (and why)?
>>
>> (I am aware this change will likely require an RFC)
>>
>> AllenJB
>
> I see only two options:
>
> 1) Do nothing.
>
> 2) Move to Exceptions.
>
> I've never used PDO and not set it to Exceptio
On Sat, 14 Mar 2020 at 22:10, Larry Garfield wrote:
> On Sat, Mar 14, 2020, at 10:40 AM, AllenJB wrote:
> > Hi all,
> >
> > A regular problem that new users run into is error handling with PDO.
> > The current default error mode for PDO is "silent". This leads to the
> > situation where code does
On Sat, Mar 14, 2020, at 10:40 AM, AllenJB wrote:
> Hi all,
>
> A regular problem that new users run into is error handling with PDO.
> The current default error mode for PDO is "silent". This leads to the
> situation where code doesn't work and returns no obvious errors unless
> PDO specific e
Hi all,
A regular problem that new users run into is error handling with PDO.
The current default error mode for PDO is "silent". This leads to the
situation where code doesn't work and returns no obvious errors unless
PDO specific error handling code is explicitly added.
I would like to pro