ID: 36805 Updated by: [EMAIL PROTECTED] Reported By: terry at bitsoup dot com -Status: Open +Status: Bogus Bug Type: OCI8 related Operating System: Win2K3 Enterprise PHP Version: 5.1.3RC1 New Comment:
Duplicate of http://pecl.php.net/bugs/bug.php?id=5995 Previous Comments: ------------------------------------------------------------------------ [2006-03-20 20:43:54] terry at bitsoup dot com Description: ------------ When we tried to load an approx. 2.2MB LOB into a string using the $lob->load() routine, only the first 1MB was returned. We did not notice this behavior in previous versions. The workaround we have in place for now is to use the $lob->read() method instead. $text = '' while ($str = $clob->read(100000)) { $text .= $str; } Reproduce code: --------------- $text = ''; $text = $clob->load(); echo "LOB SIZE=" . $clob->size() . "<br>"; echo "STR SIZE=" . strlen($text) . "<br>"; Expected result: ---------------- LOB SIZE=2213589 STR SIZE=2213589 Actual result: -------------- LOB SIZE=2213589 STR SIZE=1048576 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=36805&edit=1
