Bug #40913 [Com]: PDO_MYSQL: PDO::PARAM_LOB does not bind to a stream for fetching a BLOB

From: Date: Tue, 08 Mar 2016 12:39:08 +0000
Subject: Bug #40913 [Com]: PDO_MYSQL: PDO::PARAM_LOB does not bind to a stream for fetching a BLOB
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-199668@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=40913&edit=1

 ID:                 40913
 Comment by:         benjamin dot morel at gmail dot com
 Reported by:        dennis at inmarket dot lviv dot ua
 Summary:            PDO_MYSQL: PDO::PARAM_LOB does not bind to a stream
                     for fetching a BLOB
 Status:             Re-Opened
 Type:               Bug
 Package:            PDO MySQL
 Operating System:   Win XP
 PHP Version:        5.2.6
 Block user comment: N
 Private report:     N

 New Comment:

Still the same with PHP 7.0.4 and pdo_mysql. It returns a string instead of a resource.

PHP 7 would have been THE opportunity to fix weird behaviours such as this one. Missed again.

It's been 9 years now, since this bug has been open. Maybe we can wait for another 5 years
before PHP 8 is released, and this bug can be fixed. Or not.

The fear to break backwards compatibility is SO enormous within the PHP community, that everyone
prefers to carry on with bugs, rather than fixing them, so that bad code can continue working from
one version to the other. Even major releases.


Previous Comments:
------------------------------------------------------------------------
[2016-03-08 11:36:57] joshua at paddle dot com

It's now 2016, and I'm using PHP 5.6.18, and this issue is STILL present. I wonder if
it's been fixed in php 7...

------------------------------------------------------------------------
[2015-05-18 13:41:12] cmb@php.net

Related To: Bug #57691

------------------------------------------------------------------------
[2015-05-09 22:49:08] markus at malkusch dot de

Well, it's 2015 now and still present in PHP-5.6.5.

------------------------------------------------------------------------
[2014-12-03 18:08:15] brian at idltg dot in

This is still an issue with PHP 5.5.9 with MS SQL Server 2008 R2. Result is a string instead of a
stream.

------------------------------------------------------------------------
[2014-10-09 09:33:21] b27296 at trbvm dot com

Bug is still present in 5.5.17

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


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=40913


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


Thread (39 messages)

« previous php.bugs (#199668) next »