Edit report at https://bugs.php.net/bug.php?id=63452&edit=1

 ID:                 63452
 Updated by:         johan...@php.net
 Reported by:        vicrry at yahoo dot com dot hk
 Summary:            PDO::PARAM_LOB does not bind to a stream for
                     fetching a BLOB
-Status:             Open
+Status:             Not a bug
 Type:               Bug
 Package:            PDO related
 Operating System:   CentOS
 PHP Version:        5.4.8
 Block user comment: N
 Private report:     N

 New Comment:

Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

#40913 was reopened


Previous Comments:
------------------------------------------------------------------------
[2012-11-07 09:42:39] vicrry at yahoo dot com dot hk

Description:
------------
This is similar to the closed bug #40913, but I have a different OS and a newer 
PHP version.

It still exists in PHP 5.4.8.

I am relatively new to the bug system, if this is considered a duplicate, 
please 
close this and reopen #40913.

Test script:
---------------
$stmt = $pdo->prepare('SELECT blobfield FROM filetable');

$rset = $stmt->execute();

$rset->bindColumn(1, $blob, PDO::PARAM_LOB);

$rset->fetch(PDO::FETCH_BOUND);

echo gettype($blob);

Expected result:
----------------
resource

Actual result:
--------------
string


------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=63452&edit=1

Reply via email to