Re: PostgreSQL driver handles boolean values incorrectly...
| From: | Thomas Seifert | Date: | Sun, 07 Nov 2004 21:49:52 +0000 |
| Subject: | Re: PostgreSQL driver handles boolean values incorrectly... | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-13772@lists.php.net to get a copy of this message | ||
On Sun, 07 Nov 2004 11:59:09 -0800, 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.
>
> Better late than never. I've got a ton of code depending on it too,
> but believe me when I say doing:
>
> find . -type f -name '*.php' -exec perl -pi -e
> 's#\s*==\s*[']([tf])[']##g' {} \;
>
> will make me very happy.
Oh and you will change that for all the other developers out there?
Thats great, thank you ;).
What Christian wanted to say is this: if it is changed now it will break
backward compatibility (BC) so it will not happen!
thomas