Hi,

I present for discussion an RFC to change the default PDO error mode:

https://wiki.php.net/rfc/pdo_default_errmode

Previous discussion: https://externals.io/message/109015

I believe this change will help new developers who are presently presented only with knock-on errors, which can be confusing, when using PDO unless they implement "boilerplate" error handling every time a query is made.

I believe it also brings the behavior inline with what developers would actually expect the default to be in modern PHP.

Regards,

AllenJB

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to