|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-06-29 11:40 UTC] iliaa@php.net
[2003-07-03 11:05 UTC] cryo28 at rbcmal dot ru
[2003-07-04 02:11 UTC] sniper@php.net
[2003-07-09 17:52 UTC] sniper@php.net
[2003-08-16 10:31 UTC] abies@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 04:00:01 2025 UTC |
Description: ------------ Bug was reproduced on Windows 2000 + PHP 4.3.1 + Firebird 1.0(W2K) and on RedHat Linux 9.0 + PHP 4.3.2 + Firebird 1.5 RC3(Linux). If BLOB size > 64K actual size of data returned by ibase_blob_get equals to Actual Size minus 64K. Reproduce code: --------------- while ($res = fetchRow($q)) { $val = $res->BLOBDATA; $blobinfo = ibase_blob_info($val); $blobhndl = ibase_blob_open($val); $image = ibase_blob_get($blobhndl, blobinfo[0]); echo $blobinfo[0]."\n"; echo strlen($image)."\n"; ibase_blob_close($blobhndl); } Expected result: ---------------- Above script produces, for example, 50000 50000 if BLOBDATA size 50000.[OK]. But if BLOBDATA size more than 65535 bytes script producing something like this: 65978 442 i.e. 442=65978-65536. ibase_blob_echo($VAL) works right.