Re: PostgreSQL driver handles boolean values incorrectly...

From: Date: Sun, 07 Nov 2004 19:45:49 +0000
Subject: Re: PostgreSQL driver handles boolean values incorrectly...
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-13769@lists.php.net to get a copy of this message
Sean Chittenden wrote:
*nods* It's a pretty evil behavior, IMHO. It's all too common to have
It has been like that for ages as far as I know and plenty of code relies on it, so it can't be changed really.
100K lines of web goo. *sighs* Moved a large database schema from INTs to BOOLs, and unpleasantly discovered that PHP returns a string that
May I ask why you changed it in the first place? (-:C You mentined the principle of leat surprise, I answer with "if it ain't broken, don't fix it" ;-) - Chris

« previous php.internals (#13769) next »