Re: [PDO] Convert types for bound parameters (next try)

[email protected] (Oskar Eisemuth) Wed, 16 Jun 2010 21:44:52 +0200
Newsgroups php.pdo
Message-ID <[email protected]>
Hello

I added more content to the rfc draft on the brainstorming wiki page.
http://wiki.php.net/internals/pdo/brainstorming

For creating a proper RFC I want first some opinions from PDO Driver 
authors, or simple people who know the internals better, currently the 
silence is a bit strange here. Since my last post I even have more 
questions...

I still have no answers to key aspects of PDO, the specs for PDO are 
simply empty and the there is a huge disagreement between drivers, 
manuals and code comments.

Seems SQL TRUE/FALSE don't work as people want with PostgreSQL, boolean 
false converted to empty.
http://bugs.php.net/bug.php?id=47615
This bug would be fixed if PDO would default to PARAM_ZVAL type and 
driver would understand this,
on the other hand, that could break enough other scripts.

References to binding bugs:
http://bugs.php.net/bug.php?id=44597
http://bugs.php.net/bug.php?id=44639
http://bugs.php.net/bug.php?id=40913

Feature requests:
http://bugs.php.net/bug.php?id=51186
http://bugs.php.net/bug.php?id=43203

Best regards
Oskar Eisemuth

On 15.6.2010 19:40, Christopher Jones wrote:
>
> Oskar,
>
> Where's your RFC located?
>
> Thanks,
>
> Chris
>
> PS That's a strong hint.