|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-02-26 19:42 UTC] tony2001@php.net
[2007-03-02 20:15 UTC] christopher dot jones at oracle dot com
[2007-03-06 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 01 23:00:02 2025 UTC |
Description: ------------ When I try to do a oci_fetch_array with OCI_RETURN_LOBS in the mode string the page hangs indefinitely. No errors are produced but the page never even times out. OCI version is 1.2.3 from PECL Reproduce code: --------------- <?php $db = "(DESCRIPTION=(ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST=1.1.1.1)(PORT = 1521)))(CONNECT_DATA=(SID=FESTPROD)))"; $usr = "notreal"; $pwd = "itsfake"; $connection = oci_connect($usr, $pwd,$db); $query = "SELECT * from CATEGORY where category_id=1111"; $statement = oci_parse($connection, $query); oci_execute($statement); while ($row = oci_fetch_array($statement, (OCI_ASSOC+OCI_RETURN_LOBS))) { echo $row['COMPLETE_RULES']."<br>"; //this will output LOB's content } ?> Expected result: ---------------- Lots of words .......... .....end of words<br> Actual result: -------------- Page hangs