On 13/10/2016 19:59, Adam Baratz wrote:
> I'd like to add a new method that would return the prepared statement as it
> was executed. It's common for people I work with to want this info for
> debugging, but you can't get it from userland. The functionality is similar
> to, but distinct from PDOStatement::debugDumpParams().
> I figure it's always easier to discuss proposals alongside real code:
> https://github.com/php/php-src/pull/2159
> Please let me know what you think, if an RFC would be appropriate, or what.

To be perfectly honest, my wish is that EMULATE_PREPARES could be
deprecated and removed and I see something this as a step in the
opposite direction.

That said, I think a tiny RFC that explains what's the problem you are
trying to solve, the current issue and possible other solutions would be
very welcome. This is an API change and most likely will require all the
drivers to be adapted.

Matteo Beccati

Development & Consulting - http://www.beccati.com/

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

Reply via email to