note 104350 added to ref.pdo-oci

From: Date: Fri, 10 Jun 2011 10:15:44 +0000
Subject: note 104350 added to ref.pdo-oci
Groups: php.notes 
Request: Send a blank email to php-notes+get-180398@lists.php.net to get a copy of this message
Take note of the note at the top, this really is an experimental extension. I had a problem trying to read data from Oracle which resulted in some strange behaviour in PHP. i.e. foreach loops not ending, with no error messages. I also managed to get the data from Oracle into an array in PHP, but then couldn't return the array from a function. After pulling my hair out for a day, it turned out to be a CLOB column in Oracle that caused the strange behaviour in PHP. I assume this extension doesn't fully support them? Instead I've typecast it within the SQL to a VARCHAR2 which seems to resolve it: SELECT CAST(columnx AS VARCHAR2(4000)) AS columnx ... It might help someone else having similar issues. ---- Server IP: 69.147.83.197 Probable Submitter: 80.1.228.53 ---- Manual Page -- http://www.php.net/manual/en/ref.pdo-oci.php Edit -- https://master.php.net/note/edit/104350 Del: integrated -- https://master.php.net/note/delete/104350/integrated Del: useless -- https://master.php.net/note/delete/104350/useless Del: bad code -- https://master.php.net/note/delete/104350/bad+code Del: spam -- https://master.php.net/note/delete/104350/spam Del: non-english -- https://master.php.net/note/delete/104350/non-english Del: in docs -- https://master.php.net/note/delete/104350/in+docs Del: other reasons-- https://master.php.net/note/delete/104350 Reject -- https://master.php.net/note/reject/104350 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#180398) next »