>
> > My point is that you are adding 'testing tools' which are only any use
> > to test themselves and not the actual interface? It's creating
> > additional code that has nothing to do with testing that PDO is working
> > cleanly properly across all databases, especially if it does not expect
> > a working connection to carry out the testing.
>
> The SQL parser is shared between drivers, so in a sense it's part of
> the interface. It's already possible to test the interface by
> observing the effects of queries. This would allow testing of what
> happens immediately prior. The parser alone is over 700 LoC.
>

I incorporated some feedback from this thread and reduced the RFC to a
single proposal:
https://wiki.php.net/rfc/debugging_pdo_prepared_statement_emulation

Reply via email to