note 18749 modified in ref.pgsql by yohgaki
| From: | yohgaki@php.net | Date: | Thu, 25 Apr 2002 00:13:45 +0000 |
| Subject: | note 18749 modified in ref.pgsql by yohgaki | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-29814@lists.php.net to get a copy of this message | ||
Nice to know fact that I didn't find documented here.
PHP will return values of PostgreSQL boolean datatype as single character strings "t" and
"f", not PHP true and false.
[Editor's Note]
't' or 'f' is valid boolean expression for PostgreSQL.
All values from PostgreSQL are strings, since PostgreSQL integer, float may be much larger than
PHP's native int, double can handle. PostgreSQL array is not supported.
--was--
Nice to know fact that I didn't find documented here.
PHP will return values of PostgreSQL boolean datatype as single character strings "t" and
"f", not PHP true and false.
http://www.php.net/manual/en/ref.pgsql.php