Re: Potential RFC around PDO

From: Date: Fri, 19 Feb 2021 12:07:03 +0000
Subject: Re: Potential RFC around PDO
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-113211@lists.php.net to get a copy of this message
Hi Daniel!

On 18.02.2021 at 01:57, Daniel Beardsley wrote:

> wiki username: danielbeardsley
>
> === Background
> I was told to introduce myself. I've been in software development for more
> than 20 years and have been working with php for 10 or so of that. I've
> only had a little contact with this group, but I've got at least one past
> pull merged on the php-src repo: https://github.com/php/php-src/pull/271..
> At iFixit we use a forked version of php with a small change to allow
> automatically html-escaping echoed strings:
> https://github.com/iFixit/php-src/commit/cb6eb5c35a07c843e5b357884186d77e3a1a2981
> . It's not something this list would be interested in as it's rather
> special-purpose, but I'm mentioning it to show I'm somewhat familiar with
> the php build system.
>
> === Why I'm emailing now:
> I've opened a pull request on php-src:
> https://github.com/php/php-src/pull/6677
> and I've been advised to make an
> RFC. The first step is emailing!
>
> I'd like to propose adding a function to the mysql pdo driver (in the same
> way postgres and sqlite have) to extract the count of warnings from the
> last executed statement.
>
> See the pull request linked above for a more thorough description.
>
> Should I make an RFC out of this?

Yes, I think this needs an RFC, because adding driver specific methods
is rather controversial.  See e.g. <https://externals.io/message/100773>.

Anyhow, RFC karma has been granted.

--
Christoph


Thread (4 messages)

« previous php.internals (#113211) next »