Re: [PHP-DEV] Re: PHP PDO comment on IRC

2009-04-15 Thread Matteo Beccati
Christopher Jones wrote: > Matteo Beccati wrote: >> Here's a proposal: http://www.beccati.com/misc/php/pdo_streams_v4.diff >> >> The idea is to add a new #define PDO_DRIVER_API_CHECK which is verified >> at compile time by the C preprocessor. If its value doesn't match the >> main PDO_DRIVER_API an

[PHP-DEV] Re: PHP PDO comment on IRC

2009-04-15 Thread Christopher Jones
Matteo Beccati wrote: > Here's a proposal: http://www.beccati.com/misc/php/pdo_streams_v4.diff > > The idea is to add a new #define PDO_DRIVER_API_CHECK which is verified > at compile time by the C preprocessor. If its value doesn't match the > main PDO_DRIVER_API an #error is triggered, e.g: > >

[PHP-DEV] Re: PHP PDO comment on IRC

2009-04-10 Thread Matteo Beccati
Hi Chris, Cc-ing Internals > In case you don't log IRC chats, below are some comments from today. > The intent is to prevent externally maintained PDO drivers (e.g. IBM's) > from being used with PDO unless they have been updated to any > new API changes. > > I believe simply updating PDO_DRIVER_