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

From: Date: Mon, 28 May 2018 15:21:25 +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-215397@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
 PHP Version:        7.0.13
 Block user comment: N
 Private report:     N

 New Comment:

Wow, 11 years.

> 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.

That is so true, and one of the reasons why PHP is still being poorly considered by so many
engineers.


Previous Comments:
------------------------------------------------------------------------
[2018-04-11 13:54:53] samuel dot chemla at orange dot com

Hi,
it seems this bug won't be fixed soon.
Could you please at least update the doc to reflect that it is broken?

------------------------------------------------------------------------
[2016-03-08 12:39:02] benjamin dot morel at gmail dot com

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.

------------------------------------------------------------------------
[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.

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


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 (#215397) next »