Pear::DB automatic cast of booleans

From: Date: Wed, 18 May 2005 14:46:51 +0000
Subject: Pear::DB automatic cast of booleans
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-19257@lists.php.net to get a copy of this message
When doing a fetchRow() strings, integers and null values are automatically casted to their corresponding php values. But booleans are not casted. Postgresql returns booleans as "f", "t" (or null). How do I make fetchRow automatically cast booleans to real php booleans?

« previous php.pear.general (#19257) next »