note 76148 added to function.pg-fetch-object

From: Date: Tue, 03 Jul 2007 02:36:53 +0000
Subject: note 76148 added to function.pg-fetch-object
Groups: php.notes 
Request: Send a blank email to php-notes+get-128167@lists.php.net to get a copy of this message
PostgreSQL boolean true becomes string "t" PostgreSQL boolean false becomes string "f" This is ambiguous, and leads to code duplication. I wonder why aren't the types correctly typed when fetching values. We could at least have an optional parameter to enable that. ---- Server IP: 69.147.83.197 Probable Submitter: 201.90.150.121 ---- Manual Page -- http://www.php.net/manual/en/function.pg-fetch-object.php Edit -- https://master.php.net/note/edit/76148 Del: integrated -- https://master.php.net/note/delete/76148/integrated Del: useless -- https://master.php.net/note/delete/76148/useless Del: bad code -- https://master.php.net/note/delete/76148/bad+code Del: spam -- https://master.php.net/note/delete/76148/spam Del: non-english -- https://master.php.net/note/delete/76148/non-english Del: in docs -- https://master.php.net/note/delete/76148/in+docs Del: other reasons-- https://master.php.net/note/delete/76148 Reject -- https://master.php.net/note/reject/76148 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#128167) next »